6. QUEL and EQUEL Statements
:
Declare Cursor Statement--Declare a Cursor
:
Syntax
Share this page
Syntax
##
declare
cursor
cursor_name
##
for
retrieve
[
unique
] (
target_list
)
## [
where
qual
]
## [
sort by
column
[
:sortorder
] {,
column
[
:sortorder
]}]
## [
for
[
deferred
|
direct
]
update
[
of
(
column
{,
column
})]]