SQL游标使用及实例

declare my_cursor cursor scroll dynamic /*scroll表示可随意移动游标指针(不然只能向前),dynamic表示能够读写游标(不然游标只读)*/ for select * from t_msgsql open my_cursor declare @name sysname fetch next from my_cursor into @name while
相关文章
相关标签/搜索