CLOSE statement [ESQL] [SP]

Description

Closes a cursor.

Syntax

CLOSE cursor-name

Parameters

cursor-name:

{ identifier | host-variable }

Examples

Example 1

Usage

This statement closes the named cursor.


Side effects

None.

Standards

Permissions

The cursor must have been previously opened.

See also

DECLARE CURSOR statement [ESQL] [SP]

OPEN statement [ESQL] [SP]

PREPARE statement [ESQL]