SET_CURRENT_SQL_SERVER¶
Applies to: ORAFlex SQLFlex MYSQLFlex PGFlex DB2Flex
This command is used to set the server to be used when opening tables. It will override the SERVER_NAME token in the INT file. If the server is not specified in the INT file or with this command, then the server used during login will be used. This command is only needed when connecting to multiple SQL servers. To set the server to use for embedded SQL statements, use SET_CURRENT_SQL_SERVER_CONNECTION.
Syntax
SET_CURRENT_SQL_SERVER to {server}
Parameter |
Description |
---|---|
server |
Name of the server |
Example
SET_CURRENT_SQL_SERVER to "localhost"