Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
JOBTITLE | nvarchar(100) | Default = '' | For individuals, stores a job title (Note this field is obsolete. Please use RELATIONSHIPJOBINFO.JOBTITLE) | |
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 |
---|---|---|---|---|
ID | uniqueidentifier | CONSTITUENT.LOCALID | Primary Key. | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
INDUSTRYCODEID | uniqueidentifier | INDUSTRYCODE.LOCALID | For individuals, stores the industry |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_CONSTITUENTJOBINFO_DATEADDED | DATEADDED | |||
IX_CONSTITUENTJOBINFO_DATECHANGED | DATECHANGED | |||
PK_CONSTITUENTJOBINFO | ID |
Trigger Name | Description |
---|---|
TR_CONSTITUENTJOBINFO_AUDIT_UPDATE | |
TR_CONSTITUENTJOBINFO_AUDIT_DELETE |