Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

dbcc [Table of Contents] declare

Reference Manual Volumes 1 - 4 (Online Only)

[-] Chapter 7 Commands
[-] deallocate cursor

deallocate cursor

Description

Makes a cursor inaccessible and releases all memory resources committed to that cursor.

Syntax

deallocate cursor cursor_name

Parameters

cursor_name

is the name of the cursor to deallocate.

Examples

Example 1

Deallocates the cursor named "authors_crsr":

deallocate cursor authors_crsr

Usage

Standards

SQL92 - Compliance level: Transact-SQL extension.

Permissions

deallocate cursor permission defaults to all users. No permission is required to use it.

See also

Commands

close, declare cursor


dbcc [Table of Contents] declare