分批导出数据库记录

declare @i int declare @cmd varchar(1000) declare @st int declare @xst int set @i=0 while @i <=530 begin select top 1 @st=[MailId] From [TGdb].[dbo].[EmailList] order by [MailId] select top 1 @xst=[Ma
相关文章
相关标签/搜索