Difference between revisions of "DROP CURSOR"

From Lianjapedia
Jump to: navigation, search
m (1 revision: SQL)
m (Text replace - "Recital" to "Lianja")
Line 32: Line 32:
  
 
==Products==
 
==Products==
Recital Server, Recital
+
Lianja Server, Lianja
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:SQL]]
 
[[Category:SQL]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Revision as of 12:47, 7 December 2012

Purpose

Frees up all system resources allocated to a cursor


Syntax

DROP CURSOR <cursor>


See Also

CLOSE, DECLARE CURSOR, OPEN, SELECT


Description

The DROP CURSOR command frees up all system resources allocated to the specified cursor. Cursors may be closed with the CLOSE statement, and then re-opened with the OPEN statement. The DROP CURSOR statement should only be used if the cursor is no longer needed.

This command can only be used in Embedded SQL. The cursor must already be declared.


Keywords Description
cursor The name of a declared cursor to be dropped.


Example

DROP CURSOR accounts


Products

Lianja Server, Lianja