MKT_TM_TRMT_PROM_ASSOC
This table stores references to the promotions associated with a marketing treatment. There can be one or more promotions associated with a treatment. A promotion is a marketing offer consisting of special pricing based on coupons, products etc.
Details
-
Schema: FUSION
-
Object owner: MKT
-
Object type: TABLE
-
Tablespace: DATA
Primary Key
Name | Columns |
---|---|
MKT_TM_TRMT_PROM_ASSOC_PK |
PROMOTION_ASSOC_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
PROMOTION_ASSOC_ID | NUMBER | 18 | Yes | Promotion association id. | |
PRIMARY_FLAG | VARCHAR2 | 1 | Primary flag | ||
COUPON_ID | NUMBER | 18 | Coupon id | ||
PROMOTION_ID | NUMBER | 18 | Promotion id | ||
TREATMENT_ID | NUMBER | 18 | Yes | Treatment id. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates 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 |
---|---|---|
MKT_TM_TRMT_PROM_ASSOC | mkt_tm_treatments | TREATMENT_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MKT_TM_TRMT_PROM_ASSOC_F1 | Non Unique | Default | TREATMENT_ID |
MKT_TM_TRMT_PROM_ASSOC_F2 | Non Unique | Default | COUPON_ID |
MKT_TM_TRMT_PROM_ASSOC_F3 | Non Unique | Default | PROMOTION_ID |
MKT_TM_TRMT_PROM_ASSOC_N1 | Non Unique | Default | LAST_UPDATE_DATE |
MKT_TM_TRMT_PROM_ASSOC_PK | Unique | Default | PROMOTION_ASSOC_ID |