Subject RE: [Firebird-Java] Get ODS version
Author Mark Rotteveel
On Fri, 15 Aug 2014 07:34:46 +0000, "Jiří Činčura diskuze@...
[Firebird-Java]" <Firebird-Java@yahoogroups.com> wrote:
> You can easily do:
> select mon$ods_major, mon$ods_minor from mon$database;
> and get the information. If the mon$database table does not exists,
you’re
> for sure on 1.5.

See my previous mail. This information is included in the
databasemetadata, and it is requested on database attach using a database
info request, so there is no additional cost for executing a query to
obtain this information.

Mark