DB2查看表结构及所用表语句
来源:未知 责任编辑:责任编辑 发表时间:2013-08-22 05:11 点击:次
DB2查看表结构及所用表语句
查看所用表(注:条件内容需要大写)
www.2cto.com
Sql代码
select * from sysibm.systables where type='T' and creator = 'FRONT'

查看表字段(注:条件内容需要大写)
www.2cto.com
Sql代码
select * from sysibm.columns where table_schema = 'FRONT' and table_name = 'PRODUCT'

相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>