Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
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) | CONVERT(bigint, TS) | Numeric representation of the timestamp. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
PROSPECTPLANID | uniqueidentifier | PROSPECTPLAN.ID | The ID of the prospect plan. | |
CONSTITUENTID | uniqueidentifier | CONSTITUENT.LOCALID | The ID of the plan participant. | |
PLANPARTICIPANTROLECODEID | uniqueidentifier | PLANPARTICIPANTROLECODE.ID | The ID of the role the partipicant plays in the plan. | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_PLANPARTICIPANT_DATEADDED | DATEADDED | |||
IX_PLANPARTICIPANT_DATECHANGED | DATECHANGED | |||
PK_PLANPARTICIPANT | ID | |||
UIX_PLANPARTICIPANT_PROSPECTPLANID_CONSTITUENTID_PLANPARTICIPANTROLECODEID | PROSPECTPLANID, CONSTITUENTID, PLANPARTICIPANTROLECODEID |
Trigger Name | Description |
---|---|
TR_PLANPARTICIPANT_AUDIT_ETLDELETEDID | |
TR_PLANPARTICIPANT_AUDIT_UPDATE | |
TR_PLANPARTICIPANT_AUDIT_DELETE |