TICKETSCANNINGCONFIGURATION
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
MINUTESBEFORECUTOFF | int | Default = 90 | ||
MINUTESAFTERCUTOFF | int | Default = 30 | ||
TICKETATTENDANCECODE | tinyint | Default = 1 | ||
TICKETATTENDANCE | nvarchar(26) (Computed) | yes | CASE [TICKETATTENDANCECODE] WHEN 0 THEN N'Once the ticket is sold' WHEN 1 THEN N'Once the ticket is scanned' END | |
DATEADDED | datetime | Default = getdate() | ||
DATECHANGED | datetime | Default = getdate() | ||
TS | timestamp | |||
TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) |
Foreign Keys
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_TICKETSCANNINGCONFIGURATION_DATEADDED | DATEADDED | yes | ||
IX_TICKETSCANNINGCONFIGURATION_DATECHANGED | DATECHANGED | |||
PK_TICKETSCANNINGCONFIGURATION | ID | yes | yes |
Triggers
Trigger Name | Description |
---|---|
TR_TICKETSCANNINGCONFIGURATION_AUDIT_UPDATE | |
TR_TICKETSCANNINGCONFIGURATION_AUDIT_DELETE |