Collection Contents Index DECLARE CURSOR statement [ESQL] [SP] DECLARE LOCAL TEMPORARY TABLE statement pdf/chap9.pdf

Reference Manual
   CHAPTER 9. SQL Statements     

DECLARE CURSOR statement [T-SQL]


Function 

To declare a cursor in a manner compatible with Adaptive Server Enterprise.

Syntax 

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

Permissions 

None.

Side effects 

None.

See also 

DECLARE CURSOR statement

Description 

Adaptive Server Anywhere supports a DECLARE CURSOR syntax that is not supported in Enterprise. For information on the full DECLARE CURSOR syntax, see DECLARE CURSOR statement.

This section describes the overlap between the Adaptive Server Anywhere and Enterprise flavors of DECLARE CURSOR.

Standards and compatibility 


Collection Contents Index DECLARE CURSOR statement [ESQL] [SP] DECLARE LOCAL TEMPORARY TABLE statement pdf/chap9.pdf