首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

怎么查询DB2的表和表结构

2013-03-25 
如何查询DB2的表和表结构select * from sysibm.systables where typeT and creatorYOUR_USERselect

如何查询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'

热点排行