9 TT_DB_VERSION
The TT_DB_VERSION
package indicates the TimesTen version numbers.
This chapter contains the following topics:
-
-
Overview
-
Constants
-
Examples
-
Using TT_DB_VERSION
Overview
The TT_DB_VERSION
package has boolean variables to indicate which TimesTen major release the package is supplied with.
The package for TimesTen Release 22.1 is as follows:
PACKAGE TT_DB_VERSION IS
VER_LE_1121 CONSTANT BOOLEAN := FALSE;
VER_LE_1122 CONSTANT BOOLEAN := FALSE;
VER_LE_1801 CONSTANT BOOLEAN := FALSE;
VER_LE_2201 CONSTANT BOOLEAN := TRUE;
...
END TT_DB_VERSION;
Constants
The TT_DB_VERSION
package contains boolean constants indicating the current TimesTen release. These are shown in Table 9-1 for TimesTen Release 22.1.
Table 9-1 TT_DB_VERSION Constants
Name | Type | Value | Description |
---|---|---|---|
|
|
|
Boolean that is |
|
|
|
Boolean that is |
|
|
|
Boolean that is |
|
|
|
Boolean that is |
Examples
See Examples in the UTL_IDENT
chapter for an example that uses both that package and TT_DB_VERSION
for conditional compilation.