GET_CONNECTION_STATUS¶
Applies to: SQLFlex
This command returns true if the conection is active, false if not.
Syntax
GET_CONNECTION_STATUS of {serverName} [{databaseName}] to {variable}
Parameter |
Description |
---|---|
serverName |
The server to check the status |
databaseName |
Optional. The name of the database to check |
variable |
A variable to hold the retrieved value of the connection option. |
Example
boolean bVal
GET_CONNECTION_STATUS "myServer" to bVal