MARRIAGEADDITIONALRELATIONSHIP (4.0SP14)

Marriage additional relationships

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SPOUSERELATIONSHIPTYPECODEID

uniqueidentifier

true

FK to RELATIONSHIPTYPECODE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

RELATIONSHIPTYPECODEID

uniqueidentifier

true

FK to RELATIONSHIPTYPECODE

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MARRIAGEADDITIONALRELATIONSHIP_DATEADDED

DATEADDED

False

False

True

IX_MARRIAGEADDITIONALRELATIONSHIP_DATECHANGED

DATECHANGED

False

False

False

PK_MARRIAGEADDITIONALRELATIONSHIP

ID

True

True

False

UIX_MARRIAGEADDITIONALRELATIONSHIP_SPOUSERELATIONSHIPTYPECODEID_RELATIONSHIPTYPECODEID

SPOUSERELATIONSHIPTYPECODEID

RELATIONSHIPTYPECODEID

True

False

False

Triggers
Trigger Name Description

TR_MARRIAGEADDITIONALRELATIONSHIP_AUDIT_UPDATE

TR_MARRIAGEADDITIONALRELATIONSHIP_AUDIT_DELETE

Referenced by
Referenced by Field

MARRIAGEADDITIONALRELATIONSHIPASSOCIATION

MARRIAGEADDITIONALRELATIONSHIPID