PROGRAMEVENTPRICE
Contains individual price information for an event
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
FACEPRICE |
money |
|
Default = 0 |
|
DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
TS |
timestamp |
|
|
Timestamp. |
TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
SEQUENCE |
int |
|
Default = 0 |
The sequence in which prices are entered. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
PRICETYPECODEID |
uniqueidentifier |
|
PRICETYPECODE.ID
|
FK to PRICETYPECODE |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
EVENTID |
uniqueidentifier |
|
EVENT.ID
|
FK to EVENT |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_PROGRAMEVENTPRICE_DATEADDED |
DATEADDED |
|
|
yes |
IX_PROGRAMEVENTPRICE_DATECHANGED |
DATECHANGED |
|
|
|
PK_PROGRAMEVENTPRICE |
ID |
yes |
yes |
|
UIX_PROGRAMEVENTPRICE_EVENTID_PRICETYPECODEID |
EVENTID, PRICETYPECODEID |
yes |
|
|
Triggers