INTERACTIONSUBCATEGORY
Contains interaction subcategories.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
|
SEQUENCE |
int |
|
Default = 0 |
Stores the user-defined sequence for subcategory. |
ISINACTIVE |
bit |
|
Default = 0 |
Indicates whether or not the record is active. |
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 |
INTERACTIONCATEGORYID |
uniqueidentifier |
|
INTERACTIONCATEGORY.ID
|
FK to INTERACTIONCATEGORY |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_INTERACTIONSUBCATEGORY_DATEADDED |
DATEADDED |
|
|
yes |
IX_INTERACTIONSUBCATEGORY_DATECHANGED |
DATECHANGED |
|
|
|
PK_INTERACTIONSUBCATEGORY |
ID |
yes |
yes |
|
UIX_INTERACTIONSUBCATEGORY_INTERACTIONCATEGORYID_NAME |
INTERACTIONCATEGORYID, NAME |
yes |
|
|
Triggers
Referenced by