RESPONSECATEGORY
Contains response categories.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
|
ISINACTIVE |
bit |
|
Default = 0 |
Indicates whether or not the record is inactive. |
SORTMETHODCODE |
tinyint |
|
Default = 0 |
Sort Method |
SORTMETHOD |
nvarchar(12) (Computed) |
yes |
CASE [SORTMETHODCODE] WHEN 0 THEN N'Alpha' WHEN 1 THEN N'User-Defined' END |
Provides a translation for the 'SORTMETHODCODE' 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 |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_RESPONSECATEGORY_DATEADDED |
DATEADDED |
|
|
yes |
IX_RESPONSECATEGORY_DATECHANGED |
DATECHANGED |
|
|
|
PK_RESPONSECATEGORY |
ID |
yes |
yes |
|
UIX_RESPONSECATEGORY_NAME |
NAME |
yes |
|
|
Triggers
Referenced by
Referenced by |
Field |
RESPONSE
|
RESPONSECATEGORYID |