COMMUNICATIONLETTERSELECTION
The selections included and excluded from a communication letter.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| FILTERTYPECODE |
tinyint |
|
Default = 0 |
0=Include, 1=Exclude |
| FILTERTYPE |
nvarchar(7) (Computed) |
yes |
CASE [FILTERTYPECODE] WHEN 0 THEN N'Include' WHEN 1 THEN N'Exclude' END |
Provides a translation for the 'FILTERTYPECODE' 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
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_COMMUNICATIONLETTERSELECTION_COMMUNICATIONLETTERID |
COMMUNICATIONLETTERID |
|
|
|
| IX_COMMUNICATIONLETTERSELECTION_DATEADDED |
DATEADDED |
|
|
yes |
| IX_COMMUNICATIONLETTERSELECTION_DATECHANGED |
DATECHANGED |
|
|
|
| IX_COMMUNICATIONLETTERSELECTION_IDSETREGISTERID |
IDSETREGISTERID |
|
|
|
| PK_COMMUNICATIONLETTERSELECTION |
ID |
yes |
yes |
|
Triggers