This table contains promotion and promotion code
relation information.
Column Descriptions:
Name | Type | Description |
PX_PROMOCD_ID | BIGINT NOT NULL | Primary key of the table. |
PX_PROMOTION_ID | INTEGER NOT NULL | Foreign key to the PX_PROMOTION table. |
CODE | VARCHAR (128) | The promotion code for this promotion. |
OPTCOUNTER | SMALLINT NOT NULL DEFAULT 0 | The optimistic concurrency control counter for
the table. Every time there is an update to the table, the counter
is incremented. |
UP_CODE | VARCHAR (128) | The equivalent value of the CODE column in upper
case characters. This column is used only for DB2 (LUW)
database-types to enhance performance of text-based searches issued
from Management Center. |
Indexes:
Name | Column Names | Type |
<SYSTEM-GENERATED> | PX_PROMOCD_ID | Primary Key |
I0001165 | PX_PROMOTION_ID+CODE | Unique Index |
I0001166 | CODE | Non-Unique Index |
IPF00016 | UP_CODE | Non-Unique Index |
Constrained By Parent Tables:
Constraint | Columns | Parent Table | Parent Columns | Type |
F_3538 | PX_PROMOTION_ID | PX_PROMOTION | PX_PROMOTION_ID | Cascade |