PING

Core command CHECK

Tests a database connection

Arguments

<databaseId> (mandatory) a valid database ID

Examples

CHECK MYDB;

Notes

Tests a database connection without opening it: PING <databaseId> or CHECK <databaseId>.

databaseId is mandatory and must be defined in the Connections Definition File (CDF) - the command fails otherwise. Unlike CONNECT, this never changes the current connection: it only reports SUCCESS or FAILED, printing the connection test's detail on success or the underlying error on failure.

Last modified in release 4.9.8.