Skip Headers
Oracle® TimesTen In-Memory Database PL/SQL Packages Reference
11g Release 2 (11.2.2)

E21645-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

9 TT_DB_VERSION

The TT_DB_VERSION package indicates the TimesTen version numbers.

This chapter contains the following topics:


Using TT_DB_VERSION


Overview

The TT_DB_VERSION package has boolean variables to indicate which TimesTen major release the package is shipped with.

The package for TimesTen 11g Release 2 (11.2.2) is as follows:

PACKAGE TT_DB_VERSION IS
   VER_LE_1121 CONSTANT BOOLEAN := FALSE;
   VER_LE_1122 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 11g Release 2 (11.2.2).

Table 9-1 TT_DB_VERSION constants

Name Type Value Description

VER_LE_1121

BOOLEAN

FALSE

Boolean that is TRUE if the TimesTen version this package ships with is TimesTen 11.2.1 or prior

VER_LE_1122

BOOLEAN

TRUE

Boolean that is TRUE if the TimesTen version this package ships with is TimesTen 11g Release 2 (11.2.2) or prior



Examples

See "Examples" in the UTL_IDENT chapter for an example that uses both that package and TT_DB_VERSION for conditional compilation.