不会阿,不过我用sql语句做过:
$ db2 "select substr(colname, 1, 20), substr(res, 1, 50), substr(typename, 1, 10), length, scale, nulls,substr(default,1,50) from syscat.columns where tabschema='FACT' and tabname='T_BASE_DATA_1' order by colno "
//字段名,中文描述 ,类型 ,长度 ,小数位数 ,NULL ,缺省值$ db2 "select substr (tabname,1,40) from syscat.tables where tabschema='IM' and type='T'"
//表名称 中文描述
$ db2 "select substr(colname, 1, 20), substr(res, 1, 50), substr(typename, 1, 10), length, scale, nulls,substr(default,1,50) from syscat.columns where tabschema='FACT' and tabname='T_BASE_DATA_1' order by colno "
//字段名,中文描述 ,类型 ,长度 ,小数位数 ,NULL ,缺省值$ db2 "select substr (tabname,1,40) from syscat.tables where tabschema='IM' and type='T'"
//表名称 中文描述
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货