Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 BENEFITPREFERENCE nvarchar(500)   Default = ''
 BENEFITTYPECODE tinyint   Default = 1
 BENEFITTYPE nvarchar(33) (Computed) CASE [BENEFITTYPECODE] WHEN 0 THEN N'Registration' WHEN 1 THEN N'Fundraising incentive' WHEN 2 THEN N'Participant recruitment incentive' WHEN 3 THEN N'Donation retention incentive' WHEN 4 THEN N'Communications incentive' WHEN 5 THEN N'Volunteer recruitment incentive' END
 DATEADDED datetime   Default = getdate()
 DATECHANGED datetime   Default = getdate()
 TS timestamp  
 TSLONG bigint (Computed) CONVERT(bigint, TS)

Foreign Key Field Type Null Notes Description
 SPONSORID uniqueidentifier   EVENTSPONSOR.ID
 BENEFITID uniqueidentifier   BENEFIT.ID
 BENEFITOPTIONID uniqueidentifier BENEFITOPTION.ID
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID

Index Name Field(s) Unique Primary Clustered
 IX_SPONSORBENEFITOPTION_DATEADDED DATEADDED    
 IX_SPONSORBENEFITOPTION_DATECHANGED DATECHANGED      
 IX_SPONSORBENEFITOPTION_SPONSORID_BENEFITID_BENEFITOPTIONID SPONSORID, BENEFITID, BENEFITOPTIONID      
 PK_SPONSORBENEFITOPTION ID  

Trigger Name Description
 TR_SPONSORBENEFITOPTION_AUDIT_UPDATE
 TR_SPONSORBENEFITOPTION_AUDIT_DELETE

Entity-Relationship diagram of this table