Configuring Siebel Business Applications > About Tables and Columns > About Siebel Tables >

About Columns and Indexes in a Siebel Table


A column is a representation of the physical column that resides in the underlying database management system. The Siebel schema records the name, data type, length, primary key status, foreign key status, alias, and other properties of the database column as properties in the corresponding object definition of the column. The schema includes other properties that are internal to Siebel CRM in the object definition, such as the Changed status, Inactive status, and the Type. For more information, see the following topics:

Data Columns of a Siebel Table

A data column is a column that provides data for a field. It can serve as a foreign key that references a row in another table. Most columns in Siebel CRM are data columns. A data column is sometimes referred to as a base column. A data column can be public or private. You cannot modify the properties of a data column.

Extension Columns of a Siebel Table

An extension column is a column that stores custom data. Siebel CRM supports the following types of extension columns:

  • Predefined extension column. Included in a predefined extension table. Siebel CRM names these columns ATTRIB_nn, where nn is a value between 01 and 47. For example, ATTRIB_13. It is recommended that you do not modify or delete a predefined extension column.
  • Custom extension column in an extension table. Added by a developer to an extension table. Siebel CRM names these with an X_ prefix.
  • Custom extension columns in a base table. Added by a developer to a base table. The relational database system that you use with Siebel CRM determines if this configuration is allowed or not allowed. If the database system supports a custom extension column in a base table, it might be preferable for performance reasons to add it to the base table rather than to add it to an extension table. Performance might be affected if you add an extension column to an extension table because Siebel CRM creates extra SQL to join the extension table.

System Columns of a Siebel Table

A system column is a column that Siebel CRM displays in all tables, but it does not include the same set of system columns in every table. You can use the data in a system column for various reasons. For example, you can use the ROW_ID column to create a join. Most system columns are read-only. You typically must not modify the data in a system column. Some exceptions exist, such as using certain system columns in an interface table. For more information, see System Fields of a Business Component.

Table 9 describes some of the system columns that Siebel CRM commonly uses.

Table 9. System Columns That Siebel CRM Commonly Uses
Column
Description

ROW_ID

Stores a unique, base 36 alphanumeric identifier for the rows in the table. ROW_ID is present in all tables. It is the typical destination column of a foreign key relationship from another table. In a predefined data table, the Id field often represents ROW_ID for use in a join or link. For example, the Id field in the Account business component represents the ROW_ID column in the S_ORG_EXT table. For more information, see Relationship Between a System Field and a System Column.

CREATED

Stores the creation date and time of each record.

CREATED_BY

Stores the ROW_ID of the S_USER record of the person who created the record. This is not the user name that the user enters when the user logs in to Siebel CRM.

LAST_UPD

Stores the date of the last update that Siebel CRM performed for the record.

LAST_UPD_BY

Stores the ROW_ID of the S_USER record of the person who last updated the record. This is not the user name that the user enters when the user logs in to Siebel CRM.

DB_LAST_UPD

Stores the date of each record that Siebel CRM updates in the database. DB_LAST_UPD is different than LAST_UPD. For example, if the user updates a record, then Siebel CRM updates the LAST_UPD and DB_LAST_UPD columns in the local database. If the user synchronizes with a Server database, then Siebel CRM only updates the DB_LAST_UPD column.

PAR_ROW_ID

Stores a foreign key to the ROW_ID column of the base table. Siebel CRM includes the PAR_ROW_ID column in extension tables, file attachment tables, and tables whose name contains a _T suffix.

Siebel CRM updates the following columns:

  • CREATED
  • CREATED_BY
  • LAST_UPD
  • LAST_UPD_BY
  • ROW_ID

The following columns store the date, time, and user values for the client. They do not store the date, time, and user values for the Siebel database:

  • CREATED
  • CREATED_BY
  • LAST_UPD
  • LAST_UPD_BY

Indexes of a Siebel Table

An index is a logical representation of a physical index that resides in the underlying database management system. Siebel CRM includes a set of predefined indexes. The name for each index contains an S_ prefix. You must not modify or delete a predefined index. You can create a custom index. For more information, see Properties of an Index of a Siebel Table and Creating a Custom Index.

Index Columns of an Index

An index column is a child object of the index object. The object definition for an index column associates one column to the parent index. For more information, see Properties of an Index Column and Creating a Custom Index.

Configuring Siebel Business Applications Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.