STEWARDSHIPPLANMANAGERHISTORY
Stores historical information on stewardship plan managers.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
STARTDATE |
date |
yes |
|
The start date of this stewardship plan manager. |
ENDDATE |
date |
|
|
The end date of this stewardship plan manager. |
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 |
STEWARDSHIPPLANID |
uniqueidentifier |
|
STEWARDSHIPPLAN.ID
|
The stewardship plan this stewardship plan manager is associated with. |
MANAGERID |
uniqueidentifier |
|
CONSTITUENT.LOCALID
|
The plan manager's constituent id. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_STEWARDSHIPPLANMANAGERHISTORY_DATEADDED |
DATEADDED |
|
|
yes |
IX_STEWARDSHIPPLANMANAGERHISTORY_DATECHANGED |
DATECHANGED |
|
|
|
IX_STEWARDSHIPPLANMANAGERHISTORY_MANAGERID |
MANAGERID |
|
|
|
IX_STEWARDSHIPPLANMANAGERHISTORY_STEWARDSHIPPLANID |
STEWARDSHIPPLANID |
|
|
|
PK_STEWARDSHIPPLANMANAGERHISTORY |
ID |
yes |
yes |
|
Triggers