How to view DB2 Table structure

后端 未结 19 2469
深忆病人
深忆病人 2020-12-24 00:59

How to view the table structure in DB2 database

19条回答
  •  春和景丽
    2020-12-24 01:48

    Also the following command works:

    describe SELECT * FROM table_name;
    

    Where the select statement can be replaced with any other select statement, which is quite useful for complex inserts with select for example.

提交回复
热议问题