CLOSE (Snowflake Scripting) | Snowflake Documentation (original) (raw)

Closes the specified cursor.

For more information on cursors, see Working with cursors.

See also:

DECLARE, OPEN, FETCH

Syntax

Where:

_cursorname_

The name of the cursor.

Usage notes

Examples

For a more complete example of using a cursor, seethe introductory cursor example.

An example using a loop is included in the documentation on FOR loops.