ZCH_SCORING_MODELS
The zch_scoring_models table stores the scoring models.
Details
-
Schema: FUSION
-
Object owner: ZCH
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
Name | Columns |
---|---|
ZCH_SCORING_MODELS_PK |
MODEL_UUID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
MODEL_UUID | VARCHAR2 | 36 | Yes | Sequence generated id to uniquely identify a record | |
MODEL_NAME | VARCHAR2 | 100 | Yes | Name of the scoring model | |
OBJECT_CODE | VARCHAR2 | 50 | Yes | Name of the object that this scoring model is based on | |
SCORE_ATTRIBUTE | VARCHAR2 | 120 | Yes | Name of the attribute on the object to store the score | |
MODEL_VERSION | NUMBER | 9 | Yes | Version of the scoring model | |
STATUS_CODE | VARCHAR2 | 30 | Yes | Status of the scoring model. | |
STATUS_MESSAGE | VARCHAR2 | 4000 | Status messages that explains more detail to the change in status code. | ||
STATUS_UPDATE_TIME | TIMESTAMP | Indicate the date and time of the last status update. | |||
SCORE_UPDATE_TIME | TIMESTAMP | Indicate the date and time when the scoring process run. | |||
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
DESCRIPTION | VARCHAR2 | 2000 | Description of the scoring model | ||
CALCULATE_STATEMENT | CLOB | Generated calculation sql | |||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
zch_scoring_model_details | zch_scoring_models | MODEL_UUID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
ZCH_SCORING_MODELS_PK | Unique | Default | MODEL_UUID |
ZCH_SCORING_MODELS_UK1 | Unique | Default | OBJECT_CODE, SCORE_ATTRIBUTE, MODEL_VERSION |