TT_DB_VERSION

The TT_DB_VERSION package contains boolean constants indicating the current TimesTen release.

Table 7-8 describes the TT_DB_VERSION constants.

The primary use case for the TT_DB_VERSION and UTL_IDENT packages is for conditional compilation.

Table 7-8 TT_DB_VERSION Constants

Name Description

VER_LE_1121

Boolean that is TRUE if this package ships with TimesTen Release 11.2.1 or prior. FALSE for TimesTen 11g Release 2 (11.2.2) or higher.

VER_LE_1122

Boolean that is TRUE if this package ships with TimesTen 11g Release 2 (11.2.2) or prior. FALSE for TimesTen Release 18.1 or higher.

VER_LE_1801

Boolean that is TRUE if this package ships with TimesTen Release 18.1 or prior. FALSE for TimesTen Release 22.1

VER_LE_2201

Boolean that is TRUE if this package ships with TimesTen Release 22.1 or prior.

See Examples in Oracle TimesTen In-Memory Database PL/SQL Packages Reference for an example that uses TT_DB_VERSION and UTL_IDENT.