摘要:alter table SendMailListadd key_col int not null identity(1,1)godelete from SendMailListwhere exists(select * from SendMailList as t2where t2.EMail=SendMailList.EMailand t2.key_col>SendMailList.key_co...
阅读全文
04 2009 档案
摘要:declare @t varchar(555),@c varchar(555) ,@inScript varchar(8000) set @inScript='' declare table_cursor cursor for select a.name,b.name from sysobjects a,syscolumns b where a.id=b.id and a.xtype='u' an...
阅读全文