Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 PHONENUMBER nvarchar(50)   Default = '' The phone number to contact the registrant.
 CONFIRMATIONNUMBER nvarchar(10)   Default = '' The confirmation number for the lodging of the registrant.
 CHECKINDATE datetime The date the registrant will check in to the lodging.
 CHECKINTIME UDT_HOURMINUTE   Default = '' The time the registrant will check in to the lodging.
 CHECKOUTDATE datetime The date the registrant will check out of the lodging.
 CHECKOUTTIME UDT_HOURMINUTE   Default = '' The time the registrant will check out of the lodging.
 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.
 PHONENUMBERUNFORMATTED nvarchar(100) (Computed) dbo.UFN_PHONE_REMOVEFORMATTING(PHONENUMBER) The non-formatted version of the contact phone number.

Foreign Key Field Type Null Notes Description
 REGISTRANTCONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID FK to CONSTITUENT
 MAINEVENTID uniqueidentifier EVENT.ID FK to EVENT
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 EVENTLODGINGID uniqueidentifier EVENTLODGING.ID FK to EVENTLODGING
 EVENTLODGINGROOMINSTANCEID uniqueidentifier EVENTLODGINGROOMINSTANCE.ID FK to EVENTLODGINGROOMINSTANCE
 EVENTID uniqueidentifier EVENT.ID FK to EVENT

Index Name Field(s) Unique Primary Clustered
 IX_REGISTRANTLODGING_DATEADDED DATEADDED    
 IX_REGISTRANTLODGING_DATECHANGED DATECHANGED      
 PK_REGISTRANTLODGING ID  
 UIX_REGISTRANTLODGING_REGISTRANTCONSTITUENTID_EVENTID REGISTRANTCONSTITUENTID, EVENTID    

Trigger Name Description
 TR_REGISTRANTLODGING_AUDIT_UPDATE
 TR_REGISTRANTLODGING_AUDIT_DELETE

Entity-Relationship diagram of this table