GET_CURRENT_SQL_SERVER_CONNECTION¶

Applies to: ORAFlex SQLFlex MYSQLFlex PGFlex DB2Flex

This command returns the server currently being used for embedded SQL statements.

Syntax

GET_CURRENT_SQL_SERVER_CONNECTION of {constant} to {variable}

Parameter

Description

constant

MYSQLFLEX, ORAFLEX, PGFLEX, or SQLFLEX

variable

Variable to hold the name of the server

Example

GET_CURRENT_SQL_SERVER_CONNECTION of SQLFLEX to sServer