How to view DB2 Table structure

db2
Ambat bhath picture Ambat bhath · Jun 4, 2010 · Viewed 273.4k times · Source

How to view the table structure in DB2 database

Answer

Ambat bhath picture Ambat bhath · Jun 7, 2010

I got the answer from the sysibm.syscolumns

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