RELATIONSHIPORGANIZATION
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
SYNCENDDATETOHISTORY | bit | Default = 1 | ||
DATEADDED | datetime | Default = getdate() | ||
DATECHANGED | datetime | Default = getdate() | ||
TS | timestamp | |||
TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) |
Foreign Keys
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
RELATIONSHIPSETID | uniqueidentifier | RELATIONSHIPSET.ID | ||
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_RELATIONSHIPORGANIZATION_DATEADDED | DATEADDED | yes | ||
IX_RELATIONSHIPORGANIZATION_DATECHANGED | DATECHANGED | |||
PK_RELATIONSHIPORGANIZATION | ID | yes | yes | |
UIX_RELATIONSHIPORGANIZATION_RELATIONSHIPSETID_SYNCENDDATETOHISTORY | RELATIONSHIPSETID, SYNCENDDATETOHISTORY | yes |
Triggers
Trigger Name | Description |
---|---|
TR_RELATIONSHIPORGANIZATION_AUDIT_UPDATE | |
TR_RELATIONSHIPORGANIZATION_AUDIT_DELETE |