Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 EXPIRATIONDATE UDT_MONTHDAY   Default = '0000' The expiration date for this period.
 PUSHNEXTDATE UDT_MONTHDAY   Default = '0000' The date after which memberships are pushed to the next period.
 SEQUENCE int   Default = 0 The sequence of expiration dates for the program.
 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.

Foreign Key Field Type Null Notes Description
 MEMBERSHIPPROGRAMID uniqueidentifier   MEMBERSHIPPROGRAM.ID The membership program for this expiration date.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_MEMBERSHIPPROGRAMENDDATE_DATEADDED DATEADDED    
 IX_MEMBERSHIPPROGRAMENDDATE_DATECHANGED DATECHANGED      
 PK_MEMBERSHIPPROGRAMENDDATE ID  

Trigger Name Description
 TR_MEMBERSHIPPROGRAMENDDATE_AUDIT_UPDATE
 TR_MEMBERSHIPPROGRAMENDDATE_AUDIT_DELETE

Entity-Relationship diagram of this table