In DB2 Display a table's definition

后端 未结 11 1065
长情又很酷
长情又很酷 2021-02-04 03:35

Hello everybody I am learning DB2 and would like to know how to see a table\'s characteristics after I create one.

Similar to the EXPLAIN TABLE command in MySQL.

<
11条回答
  •  滥情空心
    2021-02-04 03:45

    Syntax for Describe table

    db2 describe table 
    

    or For all table details

    select * from syscat.tables
    

    or For all table details

     select * from sysibm.tables
    

提交回复
热议问题