Collection Contents 上一页 下一页 PDF

ASA SQL 参考

SQL 语句

DECLARE CURSOR 语句 [T-SQL]


说明 

此语句用于以与 Adaptive Server Enterprise 兼容的方式声明游标。

语法 

DECLARE cursor-name
 CURSOR FOR select-statement
 [ FOR { READ ONLY | UPDATE } ]

cursor-name :     identifier

select-statement   : string

用法 

Adaptive Server Anywhere 支持 Adaptive Server Enterprise 中不支持的 DECLARE CURSOR 语法。有关 DECLARE CURSOR 的完整语法的信息,请参见 DECLARE CURSOR 语句 [ESQL] [SP]

本节说明 Adaptive Server Anywhere 和 Enterprise 之间 DECLARE CURSOR 风格的重叠部分。

权限 

无。

副作用 

无。

另请参见 
标准和兼容性 

Collection Contents 上一页 下一页 PDF