declare cursor ::=
EXEC SQL DECLARE cursor_name CURSOR FOR
 {query_expr[ ORDER BY clause]
  [ FOR UPDATE clause]|prepared_statement_name};