IDSETREGISTERMERGE
Stores information about merged selections.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(300) |
|
Default = '' |
The name of the merge. |
| MERGETYPECODE |
tinyint |
|
Default = 0 |
The merge operation for this merge. |
| MERGETYPE |
nvarchar(14) (Computed) |
yes |
CASE [MERGETYPECODE] WHEN 0 THEN N'Union' WHEN 1 THEN N'Intersection' WHEN 2 THEN N'Only in first' WHEN 3 THEN N'Only in second' WHEN 4 THEN N'Exclusive or' END |
Provides a translation for the 'MERGETYPECODE' 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 |
| IDSETREGISTERID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
The selection ID that is the output of this merge. |
| SELECTION1ID |
uniqueidentifier |
|
IDSETREGISTER.ID
|
The selection ID of the first selection for this merge. |
| SELECTION2ID |
uniqueidentifier |
|
IDSETREGISTER.ID
|
The selection ID of the second selection for this merge. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_IDSETREGISTERMERGE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_IDSETREGISTERMERGE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_IDSETREGISTERMERGE |
ID |
yes |
yes |
|
| UC_IDSETREGISTERMERGE_NAME |
NAME |
yes |
|
|
Triggers