生活如麻 发表于 2016-11-17 06:56:58

如何查询DB2的表和表结构

select * from sysibm.systables where type='T' and creator='YOUR_USER'

select * from sysibm.columns where table_schema = 'YOUR_USER'
and table_name = 'YOUR_TABLE_NAME'
页: [1]
查看完整版本: 如何查询DB2的表和表结构