declare @idno int ,@value nvarchar(10)
declare my_cursor cursor for
  select * from dbo.split('123,1456',',')
open my_cursor
fetch my_cursor into @idno,@value
while @@FETCH_STATUS=0
begin
 print @value
fetch my_cursor into @idno,@value;

end
close my_cursor;
deallocate my_cursor

SQLSERVER 指针|写法|语法|例子

相关文章:

  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-11-15
  • 2021-06-27
  • 2021-12-27
相关资源
相似解决方案