SQL_GET_CURRENT_CURSOR_STMT¶

Applies to: ORAFlex SQLFlex MYSQLFlex PGFlex DB2Flex

This command returns the current active cursor being used. The cursor is returned to the specified variable.

Syntax

SQL_GET_CURRENT_CURSOR_STMT [of {server}] to {variable}

Parameter

Description

server

Name of the server (optional)

variable

Variable to hold the current cursor handle

Example

SQL_GET_CURRENT_CURSOR_STMT to hCursor