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.
 QUANTITY int   Default = 0 The number of benefit items associated with this detail record.
 DETAILS nvarchar(255)   Default = ''
 UNITVALUE money   Default = 0 The unit value of the benefit item.
 TOTALVALUE money   Default = 0 Then total value of the benefit item(s).

Foreign Key Field Type Null Notes Description
 SPONSORID uniqueidentifier   EVENTSPONSOR.ID Foreign Key to EVENTSPONSOR table
 BENEFITID uniqueidentifier   BENEFIT.ID Foreign key to BENEFIT table
 EVENTSPONSORSHIPTYPEID uniqueidentifier   EVENTSPONSORSHIPTYPE.ID FK to EVENTSPONSORSHIPTYPE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with the benefit.

Index Name Field(s) Unique Primary Clustered
 IX_SPONSORBENEFITEXTENSION_DATEADDED DATEADDED    
 IX_SPONSORBENEFITEXTENSION_DATECHANGED DATECHANGED      
 IX_SPONSORBENEFITEXTENSION_SPONSORID_BENEFITID_EVENTSPONSORSHIPTYPEID SPONSORID, BENEFITID, EVENTSPONSORSHIPTYPEID      
 PK_SPONSORBENEFITEXTENSION ID  

Trigger Name Description
 TR_SPONSORBENEFITEXTENSION_AUDIT_UPDATE
 TR_SPONSORBENEFITEXTENSION_AUDIT_DELETE

Entity-Relationship diagram of this table