读书人

怎么查询DB2的表和表结构

发布时间: 2013-03-25 15:43:04 作者: rapoo

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

读书人网 >其他数据库

热点推荐