摘要: SQL SERVER查看所有表名:select name from sysobjects where type='U' //显示类型为用户的所有表名查询表的所有字段名:Select name from syscolumns Where ID=OBJECT_ID('表名') //显示'表名'里所有的字段名select * from information_schema.tablesselect * from information_schema.viewsselect * from information_schema.columns 阅读全文
posted @ 2011-02-10 17:46 风干的记忆 阅读(345) 评论(0) 推荐(0) 编辑