


























SQL SERVER
查看所有表名:
select name from sysobjects where type='U' //显示类型为用户的所有表名
查询表的所有字段名:
Select name from syscolumns Where ID=OBJECT_ID('表名') //显示'表名'里所有的字段名
select * from information_schema.tables
select * from information_schema.views
select * from information_schema.columns
posted @ 2010-01-29 17:04 yunhuasheng 阅读(631) 评论(0) 收藏 举报
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。