摘要: declare @UserName varchar(400)declare @EM varchar(400)declare pcurr cursor for select UserName, ErrorMessage from ErrorLogopen pcurr fetch next from pcurr into @UserName,@EMwhile (@@fetch_status = 0) begin --set @Str=@Str+@ProductName print @UserName print @EM fetch next from pcurr into @User... 阅读全文
posted @ 2013-06-12 22:58 gzh4455 阅读(226) 评论(0) 推荐(0) 编辑