What is a good validation query to use with JayBird?
Some programs and web applications need a query that they can send to the database to verify that it is online and connected, or to insure that a connection hasn’t timed out. That is called a validation query. A good one for Firebird/JayBird is: SELECT CAST(1 AS INTEGER) FROM rdb$database This select will always succeed if the connection is still alive and will have exactly one row in the result set..