OPEN Cursor SQL statement
Description
Causes the SELECT specified when the cursor
was declared to be executed.
Syntax
|
1 |
OPEN <span>CursorName</span> ; |
|
Parameter |
Description |
|---|---|
|
CursorName |
The name of the cursor you want to open |
Usage
The USING TransactionObject clause is not
allowed with OPEN; the transaction object was
specified in the statement that declared the cursor.
Error handling
It is good practice to test the success/failure code
after executing an OPEN Cursor statement.
Examples
This statement opens the cursor Emp_curs:
|
1 |
OPEN Emp_curs ; |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest