会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
alex hu
你若盛开,清风自来!
博客园
首页
新随笔
联系
订阅
管理
SQL SERVER 动态游标
set
@sql
=
'
select id,content from table
'
set
@strCursor
=
'
declare table_cursor cursor scroll dynamic for
'
+
@sql
--
scroll表示可以向前向后
--
dynamic表示可以可读可写
exec
(
@strCursor
)
open
table_cursor
posted @
2010-07-20 15:40
alex hu
阅读(
380
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
公告