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

Part Number E21645-01
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
TTPLP223

9 TT_DB_VERSION

The TT_DB_VERSION package indicates the TimesTen version numbers.

This chapter contains the following topics:

TTPLP71398

Using TT_DB_VERSION

TTPLP71399

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;
TTPLP71400

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).

TTPLP71401Table 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


TTPLP71402

Examples

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

Reader Comment

   

Comments, corrections, and suggestions are forwarded to authors every week. By submitting, you confirm you agree to the terms and conditions. Use the OTN forums for product questions. For support or consulting, file a service request through My Oracle Support.

Hide Navigation

Quick Lookup

Database Library · Master Index · Master Glossary · Book List · Data Dictionary · SQL Keywords · Initialization Parameters · Advanced Search · Error Messages

Main Categories

This Page

This Document

New and changed documents:
RSS Feed HTML RSS Feed PDF