如何获得SQL Server 2000中指定数据库的所有用户表
如题
[解决办法]
select * from DBName..sysobjects where type= 'U '
[解决办法]
select * from dbo.sysobjects where xtype = 'U '
[解决办法]
select * from sysobjects b where b.xtype= 'U ' and b.name <> 'dtproperties '
[解决办法]
use dbname
select name from sysobjects where xtype= 'u '
[解决办法]
var MyList: TstringList;
datamodule1.ADOConnection1.GetTableNames(MyList);
包括视图