dbs_fields

The dbs_fields table holds the field definitions for every field in every installed iProcess table.

Structure

The dbs_fields table has the following structure:

TABLE dbs_fields (
node_id INTEGER NOT NULL,
dbs_id INTEGER NOT NULL,
field_id INTEGER NOT NULL,
field_name VARCHAR(15) NOT NULL,
field_type VARCHAR(1) NOT NULL,
field_length SMALLINT NOT NULL,
field_decimals SMALLINT NOT NULL)

Column

Description

node_id

ID of the node that this field is defined on, as defined in the nodes table.

dbs_id

ID of the table that this field is defined in, as defined in the dbs_names table.

field_id

Unique ID for the field in this TIBCO iProcess® Engine table.

field_name

Name of this field.

field_type

Field type: Either ASCII (A), Numeric (R), Date (D) or Time (T).

field_length

Length of this field, in characters.

field_decimals

Number of characters after the decimal place in this field (relevant only for Numeric fields).

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

pk_dbs_fields

dbs_id
field_id
node_id

Triggers

The following DELETE CASCADE trigger is defined for this table.

Trigger Name

Triggered by

Affects Table(s)

tr_dbs_fields

DELETE

dbs_values

Indexes

The following indexes are defined for this table.

Index Name

Column(s) Indexed

idx_dbs_fields_fk

dbs_id
node_id

idx_dbs_fields

field_id
dbs_id

Table Activity

The dbs_fields table contains one row for each field in each installed TIBCO iProcess table.

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

A row is...

When...

added

a Move System Information is performed, if the flag_table indicates that the Tables data area has been modified.

Note: The table is purged and rewritten using the values from the tsys_dbs_fields table.

updated

never.

deleted

a Move System Information is performed, if the flag_table indicates that the Tables data area has been modified.

Note: The table is purged and rewritten using the values from the tsys_dbs_fields table.