求一查所有表的SQL语句
我想列出数据库中所有表的表名,请问怎样可以实现?
[解决办法]
select name from sysobjects where xtype='S' 数据库中所有的系统数据表);
select name from sysobjects where xtype='u' 数据库中所有的用户的表名;
发布时间: 2012-02-24 16:30:38 作者: rapoo
求一查所有表的SQL语句
我想列出数据库中所有表的表名,请问怎样可以实现?
[解决办法]
select name from sysobjects where xtype='S' 数据库中所有的系统数据表);
select name from sysobjects where xtype='u' 数据库中所有的用户的表名;