CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT
This table contains the constituent security attributes for constituents.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| 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 |
| CONSTITUENTID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
The constituent to which the security attribute is assigned. |
| CONSTIT_SECURITY_ATTRIBUTEID |
uniqueidentifier |
yes |
CONSTIT_SECURITY_ATTRIBUTE.ID
|
The ID of the constituent security attribute that is assigned. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_DATEADDED |
DATEADDED |
|
|
yes |
| IX_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_DATECHANGED |
DATECHANGED |
|
|
|
| PK_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT |
ID |
yes |
yes |
|
| UIX_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_CONSTITUENTID_CONSTIT_SECURITY_ATTRIBUTEID |
CONSTITUENTID, CONSTIT_SECURITY_ATTRIBUTEID |
yes |
|
|
Triggers