db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Database version
Date Mon, 07 Sep 2009 11:27:52 GMT
Stefan Rehlig <rehlig@lemonage.de> writes:

> Hi,
> how can i get the number of the derby version, that was used to create the
> database? Is there any sys procedure available?

The query below may help. It tells you the version of the data
dictionary, which corresponds to the Derby version that created the
database. If you have upgraded the database later (booted the database
with a higher version and specified the upgrade=true connection
attribute), it will show the version to which it was upgraded, and not
the version that created it.

ij> values syscs_util.syscs_get_database_property('DataDictionaryVersion');

1 row selected

Knut Anders

View raw message