积极答复者
VB.net与SQL2008编程中的问题,如何获得数据库中的所有表

问题
答案
-
SQL
select OBJECT_NAME(id) as TableName from dbo.sysobjects where OBJECTPROPERTY(id, N'IsUserTable') = 1 order by OBJECT_NAME(id)
http://feiyun0112.cnblogs.com/- 已标记为答案 Liliane Teng 2011年3月24日 10:11
-
你好,
不清楚的地方,你可以直接在SQL SERVER联机帮助上查找:http://msdn.microsoft.com/zh-cn/library/ms166020.aspx
Best regards
Liliane Teng [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Liliane Teng 2011年3月24日 10:12
全部回复
-
SQL
select OBJECT_NAME(id) as TableName from dbo.sysobjects where OBJECTPROPERTY(id, N'IsUserTable') = 1 order by OBJECT_NAME(id)
http://feiyun0112.cnblogs.com/- 已标记为答案 Liliane Teng 2011年3月24日 10:11
-
SQL
select OBJECT_NAME(id) as TableName from dbo.sysobjects where OBJECTPROPERTY(id, N'IsUserTable') = 1 order by OBJECT_NAME(id)
http://feiyun0112.cnblogs.com/
Yang -
你好,
不清楚的地方,你可以直接在SQL SERVER联机帮助上查找:http://msdn.microsoft.com/zh-cn/library/ms166020.aspx
Best regards
Liliane Teng [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Liliane Teng 2011年3月24日 10:12