Search code examples
db2

How to view DB2 Table structure


How to view the table structure in DB2 database


Solution

  • I got the answer from the sysibm.syscolumns

    Select distinct(name), ColType, Length from Sysibm.syscolumns where tbname = 'employee';