T-SQL事务编写
摘要:
View Code Declare @maxLsh bigintDeclare @newMaxLSh bigintDeclare @SQL nvarchar(1000)set @maxLsh=0set @newMaxLSH=0Set @SQL=''select @maxLsh=isnull(max(Id),0) from kb_lable_IsScanSyncselect @newMaxLsh=Lsh From kb_lable_scanwhere lsh>=@maxLshif @newMaxLsh>@maxLsh Begin Set @SQL=' BEGI 阅读全文
posted @ 2013-03-23 13:26 遗忘海岸 阅读(499) 评论(0) 推荐(0) 编辑