| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
DESCRIPTION |
nvarchar(255) | Default = '' | Name of the email category. All active email categories must be defined in this table. | |
PRIORITY |
int | Default = 50 | ||
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. |
CATEGORYID |
int | Default = 0 | The ID of the category. This maps to the Category enum in the code, and the category field in the queue table. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_EMAILCATEGORYPRIORITY_DATEADDED |
DATEADDED | ![]() |
||
IX_EMAILCATEGORYPRIORITY_DATECHANGED |
DATECHANGED | |||
PK_EMAILCATEGORYPRIORITY |
ID | ![]() |
![]() |
|
UC_EMAILCATEGORYPRIORITY_DESCRIPTION |
DESCRIPTION | ![]() |
| Trigger Name | Description |
|---|---|
TR_EMAILCATEGORYPRIORITY_AUDIT_UPDATE |
|
TR_EMAILCATEGORYPRIORITY_AUDIT_DELETE |

ID
DESCRIPTION
TSLONG
ADDEDBYID
IX_EMAILCATEGORYPRIORITY_DATEADDED
IX_EMAILCATEGORYPRIORITY_DATECHANGED