INTERACTIONCATEGORY
Contains prospect interaction 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_INTERACTIONCATEGORY_DATEADDED |
DATEADDED |
|
|
yes |
| IX_INTERACTIONCATEGORY_DATECHANGED |
DATECHANGED |
|
|
|
| PK_INTERACTIONCATEGORY |
ID |
yes |
yes |
|
| UIX_INTERACTIONCATEGORY_NAME |
NAME |
yes |
|
|
Triggers
Referenced by