On this page

PING

Core command CHECK

Tests a database connection without opening it.

Syntax

PING <connection>

Arguments

ArgumentRequiredValuesDefault
<connection>YesThe ID of an active connection of the CDFNone

Examples

PING WORLD;
CHECK MYDB;

Details

The connection must be an active connection of the Connections Definition File (CDF); otherwise the command fails, and an inactive connection is reported as such. Unlike CONNECT, PING never changes the current connection: it reports SUCCESS with the test's detail, or FAILED with the underlying error. It works without a current connection, at the BroadSQL> prompt. $CDF, or a connection that opens BroadSQL's configuration database, is refused.

Last modified in release development.

Found something wrong or unclear on this page? , with the page address.