我的数据库是DB2.
select tabname,colname,typename,length,scale,default,nulls,identity,generated,remarks,keyseq from syscat.columns