FAFEVENTCOMMUNICATIONCHANNELREGISTRANT
Store Communication Channel tracking data for registration
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
CHANNELCODE |
tinyint |
|
Default = 0 |
Communication channel code |
CHANNEL |
nvarchar(8) (Computed) |
yes |
CASE [CHANNELCODE] WHEN 0 THEN N'Others' WHEN 1 THEN N'Email' WHEN 2 THEN N'Facebook' WHEN 3 THEN N'Twitter' END |
Provides a translation for the 'CHANNELCODE' field. |
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 |
REGISTRANTID |
uniqueidentifier |
|
REGISTRANT.ID
|
Registrant ID |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_FAFEVENTCOMMUNICATIONCHANNELREGISTRANT_DATEADDED |
DATEADDED |
|
|
yes |
IX_FAFEVENTCOMMUNICATIONCHANNELREGISTRANT_DATECHANGED |
DATECHANGED |
|
|
|
IX_FAFEVENTCOMMUNICATIONCHANNELREGISTRANT_REGISTRANTID |
REGISTRANTID |
|
|
|
PK_FAFEVENTCOMMUNICATIONCHANNELREGISTRANT |
ID |
yes |
yes |
|
Triggers