查看Database里面的table
SELECT * FROM sys.tables
查看table里面的列
select object_id('SourceTable'),* from syscolumns where id = object_id('SourceTable');
查看Database里面的table
SELECT * FROM sys.tables
查看table里面的列
select object_id('SourceTable'),* from syscolumns where id = object_id('SourceTable');