CLOSE Statement [ESQL] [SP]

Closes a named cursor.

Quick Links:

Go to Examples

Go to Standards

Go to Permissions

Syntax

CLOSEidentifier | host-variable }

Examples

(back to top)

Standards

(back to top)

  • SQL—Vendor extension to ISO/ANSI SQL grammar.
  • SAP Sybase Database product—Supported by Adaptive Server.

Permissions

(back to top)

The cursor must have been previously opened.

Related reference
DECLARE CURSOR Statement [ESQL] [SP]
OPEN Statement [ESQL] [SP]
PREPARE Statement [ESQL]