MARITALSTATUSCODE (4.0SP20)

This code table stores translations of marital status codes.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DESCRIPTION

nvarchar(100)

false

Stores the description of the table entry

ACTIVE

bit

false

1

Indicates whether or not the table entry is active

SEQUENCE

int

false

0

Stores the user-defined sequence for the table entry

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_MARITALSTATUSCODE_DATEADDED

DATEADDED

False

False

True

PK_MARITALSTATUSCODE

ID

True

True

False

UIX_MARITALSTATUSCODE_DESCRIPTION

DESCRIPTION

True

False

False

Triggers
Trigger Name Description

TR_MARITALSTATUSCODE_INSERT_BBNCCODETABLEIDMAP

TR_MARITALSTATUSCODE_DELETE_BBNCCODETABLEIDMAP

TR_MARITALSTATUSCODE_AUDIT_ETLDELETEDID

TR_MARITALSTATUSCODE_AUDIT_UPDATE

TR_MARITALSTATUSCODE_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHAUCTIONITEMCONSTITUENT

MARITALSTATUSCODEID

BATCHCONSTITUENTUPDATE

MARITALSTATUSCODEID

BATCHEVENTSPONSORSHIP

MARITALSTATUSCODEID

BATCHREVENUECONSTITUENT

MARITALSTATUSCODEID

BATCHSPONSORSHIPCONSTITUENT

MARITALSTATUSCODEID

CONSTITUENT

MARITALSTATUSCODEID

DECEASINGRULE

MARITALSTATUSCODEID

DONATIONBATCH

MARITALSTATUSCODEID

MARRIAGERULE

MARITALSTATUSCODEID

MKTFINDERNUMBERCONSTITUENT

MARITALSTATUSCODEID

REGISTRANTBATCH

MARITALSTATUSCODEID

WPBIOGRAPHICALDEMOGRAPHIC

MARITALSTATUSCODEID

WPBIOGRAPHICALHHMEMBER

MARITALSTATUSCODEID