怎样用SQL语句查询一个数据库中的所有表

如题所述

第1个回答  2015-01-30
--读取库中的所有表名
select name from sysobjects where xtype='u'
第2个回答  2015-01-30
select * from sys.tables
在sqlserver 2005及以上版本可用。
第3个回答  2021-04-01

相似回答