Staging > Key Type
  
Key Type
The key type is used internally by QAD Data Warehouse Designer in the building of the update procedure and the generation of indexes. It can be altered here, but this should only be done if the consequences are fully understood and tested. The supported values are:
Key type
Meaning
0
The artificial key. Set when the key is added during drag and drop table generation.
1
Component of all business keys. Indicates that this column is used as part of any business key. For example: By default the dss_source_system_key is added to every dimension table. It is considered part of any lookup on that table and has the key type set to 1. Set when the column is added during drag and drop table generation.
2
Indicates that this column is a dimensional join. Used on fact tables to indicate the dimension keys. Results in bitmap indexes being built for the columns. Set during the update procedure generation for a fact table, based on information from the staging table.
3
Slowly changing column indicator. Used on dimension tables to indicate that the column is being managed as a slowly changing column within the context of a slowly changing dimension. Set when a column is identified during the dimension update procedure generation.
4
Previous value column indicator. Used on dimension tables to indicate that the column is being managed as a previous value column. The source column identifies the parent column. Set during the dimension creation.
A
Indicates that the column is part of the primary business key. Set whenever a business key is defined as part of an update procedure generation.
B-Z
Indicates that the column is part of a secondary business key. Only used during index generation and not normally set.