Subject Re: [firebird-support] Re: Firebird function to test if a database connection is not disconnected?
Author Dimitry Sibiryakov
> Thank you so much Helen. I was looking for something economical and generic that could be used to test the connection state.
>
> SELECT 1 FROM RDB$DATABASE is absolutely perfect!

Actually, not at all. Depending on server version and implementation
it can take up to 9 round trips to server. Too much overhead for my taste.
I use isc_database_info() call which always takes exactly one round trip.

SY, SD.