RECOGNITIONRELATIONSHIPDEFAULT
This table contains system configuration options for relationship recognitions.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| MATCHFACTOR |
decimal(5, 2) |
|
Default = 0 |
|
| 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. |
| CONSTITUENTTYPECODE |
tinyint |
|
Default = 0 |
The ID of the constituent type. |
| CONSTITUENTTYPE |
nvarchar(12) (Computed) |
yes |
CASE [CONSTITUENTTYPECODE] WHEN 0 THEN N'Individual' WHEN 1 THEN N'Organization' WHEN 2 THEN N'Group' WHEN 3 THEN N'Household' END |
Provides a translation for the 'CONSTITUENTTYPECODE' field. |
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_RECOGNITIONRELATIONSHIPDEFAULT_DATEADDED |
DATEADDED |
|
|
yes |
| IX_RECOGNITIONRELATIONSHIPDEFAULT_DATECHANGED |
DATECHANGED |
|
|
|
| PK_RECOGNITIONRELATIONSHIPDEFAULT |
ID |
yes |
yes |
|
| UIX_RECOGNITIONRELATIONSHIPDEFAULT_CONSTITUENTTYPECODE_RELATIONSHIPTYPECODEID |
CONSTITUENTTYPECODE, RELATIONSHIPTYPECODEID |
yes |
|
|
Triggers