pdb_gen_id

Description

Returns the current value of the database generation ID or updates the value of the database generation ID.

Syntax

pdb_gen_id [number]

Parameters

number

This is the value of the new database generation ID to be used when the database generation ID is updated.

Examples

Example 1

pdb_gen_id

This command returns the current value of the database generation ID, as shown below:

Generation ID
 ------------- 
 0 
 (1 row affected)

Example 2

pdb_gen_id 10

This command updates the value of the database generation ID.

Usage

See also

ra_locator, pdb_truncate_xlog