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