open @cursor
fetch FIRST from @cursor into @str_fetch
while @@FETCH_STATUS = 0
begin
....
fetch NEXT from @cursor into @str_fetch
end
close @cursor
и
open @cursor
fetch NEXT from @cursor into @str_fetch
while @@FETCH_STATUS = 0
begin
....
fetch NEXT from @cursor into @str_fetch
end
close @cursor
Я не могу понять в чем разница :(
-
Вопрос задан
-
387 просмотров