字号: 小 中 大 |
推荐给好友
上一篇 |
下一篇
SQL Server数据库技术(88)
发布: 2007-7-13 22:29 |
作者: 佚名 |
来源:
网络转载   |
查看: 10次 | 进入软件测试论坛讨论
领测软件测试网
在建立一个游标之后,便可利用系统过程对游标进行管理管理,游标的系统过程主要有以下几个:sp_cursor_list、sp_describe_cursor、 sp_describe_cursor_tables 、sp_describe_cursor_columns。 各系统过程的具体含义分别为:
13.8.1 sp_cursor_list 显示在当前作用域内的游标及其属性;其命令格式为:

例13-11: 从下面的例子中,读者能够体会该系统过程的具体使用方法。


提示:由于sp_cursor_list是一个含有游标类型变量@cursor_return,且有OUTPUT保留字的系统过程,游标变量@cursor_return中的结果集与pub_cur游标中的结果集是不同的。
13.8.2 sp_describe_cursor 用来显示游标的属性;其命令格式为:

提示:sp_descride_cursor_tables和sp_describe_cursor_columms的命令格式与sp_describe_cursor的命令格式一样。
|
| |
|
文章来源于领测软件测试网 https://www.ltesting.net/