Try OpenEdge Now
skip to main content
SQL Reference
ESQL Reference : Embedded SQL : ESQL elements and statements in Backus Naur Form (BNF) : DECLARE CURSOR
 
DECLARE CURSOR
declare cursor ::=
EXEC SQL DECLARE cursor_name CURSOR FOR
{query_expr[ ORDER BY clause]
[ FOR UPDATE clause]|prepared_statement_name};