EMAILCATEGORYPRIORITY (4.0SP14)

Email Type Priorities

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DESCRIPTION

nvarchar(255)

false

''

Name of the email category. All active email categories must be defined in this table.

PRIORITY

int

false

50

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

CATEGORYID

int

false

0

The ID of the category. This maps to the Category enum in the code, and the category field in the queue table.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_EMAILCATEGORYPRIORITY_DATEADDED

DATEADDED

False

False

True

IX_EMAILCATEGORYPRIORITY_DATECHANGED

DATECHANGED

False

False

False

PK_EMAILCATEGORYPRIORITY

ID

True

True

False

UC_EMAILCATEGORYPRIORITY_DESCRIPTION

DESCRIPTION

True

False

False

Triggers
Trigger Name Description

TR_EMAILCATEGORYPRIORITY_AUDIT_UPDATE

TR_EMAILCATEGORYPRIORITY_AUDIT_DELETE