close

Description

Deactivates a cursor.

Syntax

close cursor_name

Parameters

cursor_name

is the name of the cursor to close.

Examples

Example 1

Closes the cursor named authors_crsr:

close authors_crsr

Usage

Standards

ANSI SQL – Compliance level: Entry-level compliant.

Permissions

No permission is required to use close.

See also

Commands deallocate cursor, declare cursor, fetch, open