Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_DB_StandbyConnectionActive

CSV_DB_StandbyConnectionActive

Check the last connection state of the specified primary connection and the specified standby connection.

Syntax

CSV_DB_StandbyConnectionActive(sPrimaryConnection, sStandbyConnection)

Return Value

If the primary connection state is offline and the standby connection state is online then return 1 otherwise return 0.