SQL Service 循环存储过程(实现循环修改)
1.实现循环修改符合条件的字段2.存储过程:declare @count int--总长度declare @row int--当前行排序declare @thisId int--当前行idset @row=1select @count=COUNT(1) from YP_Member where Id>2 --获取总的行数--循环while @row <=@countbeginselect top (select @row) @thisId=[Id] from YP_.