EMAILTEMPLATEEXTENSION
EmailTemplateExtension
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
CCEMAILADDRESSES | nvarchar(2000) | Default = '' | Optional cc addresses | |
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 |
---|---|---|---|---|
EMAILTEMPLATEID | int | EmailTemplate.ID | Foreign key to EmailTemplate table | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_EMAILTEMPLATEEXTENSION_DATEADDED | DATEADDED | yes | ||
IX_EMAILTEMPLATEEXTENSION_DATECHANGED | DATECHANGED | |||
PK_EMAILTEMPLATEEXTENSION | ID | yes | yes | |
UIX_EMAILTEMPLATEEXTENSION_EMAILTEMPLATEID | EMAILTEMPLATEID | yes |
Triggers
Trigger Name | Description |
---|---|
TR_EMAILTEMPLATEEXTENSION_AUDIT_UPDATE | |
TR_EMAILTEMPLATEEXTENSION_AUDIT_DELETE |