INVITEEHISTORY
Contains information pertaining to constituents that were sent invitations to events.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
CONSTITUENTID |
uniqueidentifier |
|
CONSTITUENT.LOCALID
|
The constituent to that has been invited to the event. |
EVENTID |
uniqueidentifier |
|
EVENT.ID
|
The event to which the constituent was invited. |
INVITATIONHISTORYID |
uniqueidentifier |
|
INVITATIONHISTORY.ID
|
The invitation that was sent to the constituent. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
MKTPACKAGEID |
uniqueidentifier |
yes |
MKTPACKAGE.ID
|
|
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_INVITEEHISTORY_DATEADDED |
DATEADDED |
|
|
yes |
IX_INVITEEHISTORY_DATECHANGED |
DATECHANGED |
|
|
|
IX_INVITEEHISTORY_EVENTID_CONSTITUENTID_INVITATIONHISTORYID |
EVENTID, CONSTITUENTID, INVITATIONHISTORYID |
|
|
|
PK_INVITEEHISTORY |
ID |
yes |
yes |
|
Triggers