GROUPMEMBERROLE
Role information for a group member
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
STARTDATE |
date |
yes |
|
The start date of the member's role |
ENDDATE |
date |
yes |
|
The end date of the member's role |
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 |
GROUPMEMBERID |
uniqueidentifier |
|
GROUPMEMBER.ID
|
The ID of the group member |
GROUPMEMBERROLECODEID |
uniqueidentifier |
|
GROUPMEMBERROLECODE.ID
|
The ID of the group member role code |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_GROUPMEMBERROLE_DATEADDED |
DATEADDED |
|
|
yes |
IX_GROUPMEMBERROLE_DATECHANGED |
DATECHANGED |
|
|
|
IX_GROUPMEMBERROLE_GROUPMEMBERID |
GROUPMEMBERID |
|
|
|
PK_GROUPMEMBERROLE |
ID |
yes |
yes |
|
Triggers