Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 ONSALEDATE datetime Date tickets are able to be sold to this event using this sales method
 ONSALETIME UDT_HOURMINUTE   Default = '' Time of day tickets are able to be sold
 ONSALEDATETIMEWITHOFFSET datetimeoffset On sale date and time stored with UTC offset
 ONSALEDATETIME datetime (Computed) dateadd(mi, convert(tinyint, substring(ONSALETIME, 3, 2)), dateadd(hh, convert(tinyint, substring(ONSALETIME, 1, 2)), convert(datetime, convert(date, ONSALEDATE))))

Foreign Key Field Type Null Notes Description
 SALESMETHODID uniqueidentifier SALESMETHOD.ID FK to SALESMETHOD
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 EVENTID uniqueidentifier EVENT.ID FK to EVENT

Index Name Field(s) Unique Primary Clustered
 IX_EVENTSALESMETHOD_DATEADDED DATEADDED    
 IX_EVENTSALESMETHOD_DATECHANGED DATECHANGED      
 PK_EVENTSALESMETHOD ID  
 UIX_EVENTSALESMETHOD_SALESMETHODID_EVENTID SALESMETHODID, EVENTID    

Trigger Name Description
 TR_EVENTSALESMETHOD_UPDATE_ONSALEDATETIMEWITHOFFSET
 TR_EVENTSALESMETHOD_AUDIT_UPDATE
 TR_EVENTSALESMETHOD_AUDIT_DELETE

Entity-Relationship diagram of this table