version

The version table contains version information on system data: currently either CDQP or user data. Processes that hold user details query this table to determine if their internal cache is up to date or not.

Structure

The version table has the following structure:

TABLE version (
version_type VARCHAR(20) NOT NULL,
version_value INTEGER NOT NULL)

Column

Description

version_type

Data type: either cdqp or user.

version_value

Number that is incremented whenever the data is changed.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

pk_version

version_type

Foreign Keys

None.

Indexes

None.

Table Activity

The version table always contains a single row. The table is populated when the iProcess Engine is installed.

Rows are added, updated and deleted in the following situations.

A row is...

When...

added

never.

updated

a Move System Information operation is performed and data for users, groups or attributes has been modified (that is, if the move_req flag for the Users data area in the flag_table is set to 1).

deleted

never.