declare
@i
int
set
@i = 1
while @i <= 100
begin
update
top
(1) @t
name
= @i
where
=
'123'
@i = @i + 1
end