GROUPMEMBER
This table track which constituents are members in which groups.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
ISPRIMARY |
bit |
|
Default = 0 |
Indicates whether or not the group member is the primary contact for the group. |
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 |
GROUPID |
uniqueidentifier |
|
CONSTITUENT.LOCALID
|
The ID of the constituent group record |
MEMBERID |
uniqueidentifier |
|
CONSTITUENT.LOCALID
|
The ID of the constituent member record |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_GROUPMEMBER_DATEADDED |
DATEADDED |
|
|
yes |
IX_GROUPMEMBER_DATECHANGED |
DATECHANGED |
|
|
|
IX_GROUPMEMBER_GROUPID |
GROUPID |
|
|
|
IX_GROUPMEMBER_MEMBERID |
MEMBERID |
|
|
|
PK_GROUPMEMBER |
ID |
yes |
yes |
|
Triggers
Referenced by