如何从特定的Sqlserver数据库获取所有表名

如何从特定的Sqlserver数据库获取所有表名

问题描述:

HI
我怎样才能从我的sql server数据库而不是从所有数据库中获取所有表名?特殊数据库

谢谢

HI
How can i get the all the Table name from my sql server database not from all database Particular database

thank you

尝试一下...


Try this one...


select name from sysobjects where xtype=''u'' order by name asc