摘要:
Select Distinct sysobj.name From dbo.sysobjects sysobj Inner Join dbo.syscolumns syscol On sysobj.id=syscol.id where sysobj.xtype='U' and COLUMNPROPERTY(syscol.id,syscol.name,'IsIdentity')=1 阅读全文
摘要:
Declare @iCount int,@familyTableName varchar(50),@Sql varchar(3000) Declare @tempTable Table(familyTableName varchar(50) primary key(familyTableName)) Insert @tempTable(familyTableName) Select Dist... 阅读全文