You can create CA Datacom Datadictionary KEY entity-occurrences in several ways with parameters in your SQL statements and by using the CREATE INDEX statement. See CREATE TABLE and Creating an Index for details. For information about specifying an SQL key selection override key in either the correlation name or synonym name, see Overriding SQL Key Selection.
The following are four of the ways KEY entity-occurrences can be defined by CA Datacom Datadictionary as a result of SQL processing. The key SQL name is created by CA Datacom Datadictionary. The name consists of the DATACOM-NAME attribute-value of the key followed by the underscore character followed by the concatenation of the DATACOM-NAME attribute-value of the table and the DATACOM-ID attribute-value of the database containing the key. For example, a key with DATACOM-NAME SQ032 in table INV in database 16 has the SQLNAME attribute-value SQ032_INV00016.
Note: The DUPE-MASTER-KEY and CHNG-MASTER-KEY attributes of the TABLE entity-occurrence are set to Y, indicating that the value of the Master Key can be duplicated and/or changed.
Note: Uniqueness is enforced at the key level, not at the column level, that is to say, UNIQUE forces unique values for the entire key and not for the individual columns making up the key.
Note: Uniqueness is enforced at the key level, not at the column level, that is to say, UNIQUE forces unique values for the entire key and not for the individual columns making up the key.
The five-character DATACOM name of each key uses SQ followed by three digits for uniqueness.
|
Copyright © 2014 CA.
All rights reserved.
|
|