How to view DB2 Table structure

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

How to view the table structure in DB2 database

19条回答
  •  难免孤独
    2020-12-24 01:40

    I am running DB2/LINUXX8664 10.5.3 and describe select * from schema_name.table_name works for me.

    However, describe table schema_name.table_name fails with this error:

    SQL0100W No row was found for FETCH, UPDATE or DELETE; or the result of a query is an empty table. SQLSTATE=02000

提交回复
热议问题