通过 SQL 查看 DB2 库表结构

语法:  
  DESCRIBE   {select-statement   |  
  {TABLE   |   INDEXES   FOR   TABLE}   table-name   [SHOW   DETAIL]   }  
  例子:  
  connect   to   sample  
  describe   table   staff    
  describe   table   staff   show   detail
或者
  
  describe select * from table

0 comments:

Post a Comment