CONGRESSIONALDISTRICTCODE (4.0SP17)

This code table stores the translations of congressional districts.

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_CONGRESSIONALDISTRICTCODE_DATEADDED

DATEADDED

False

False

True

PK_CONGRESSIONALDISTRICTCODE

ID

True

True

False

UIX_CONGRESSIONALDISTRICTCODE_DESCRIPTION

DESCRIPTION

True

False

False

Triggers
Trigger Name Description

TR_CONGRESSIONALDISTRICTCODE_AUDIT_UPDATE

TR_CONGRESSIONALDISTRICTCODE_AUDIT_DELETE

TR_CONGRESSIONALDISTRICTCODE_INSERT_BBNCCODETABLEIDMAP

TR_CONGRESSIONALDISTRICTCODE_DELETE_BBNCCODETABLEIDMAP

Referenced by
Referenced by Field

ADDRESSVALIDATIONUPDATE

CONGRESSIONALDISTRICTCODEID

BATCHADDRESSVALIDATION

NEWCONGRESSIONALDISTRICTID

BATCHAUCTIONITEMCONSTITUENT

CONGRESSIONALDISTRICTCODEID

BATCHCONSTITUENT

ADDRESS_CONGRESSIONALDISTRICTCODEID

BATCHCONSTITUENTADDRESSUPDATE

CONGRESSIONALDISTRICTCODEID

BATCHCONSTITUENTUPDATEADDRESSES

CONGRESSIONALDISTRICTCODEID

BATCHREVENUECONSTITUENT

CONGRESSIONALDISTRICTCODEID

BATCHSPONSORSHIPCONSTITUENT

CONGRESSIONALDISTRICTCODEID

MKTFINDERNUMBERCONSTITUENT

CONGRESSIONALDISTRICTCODEID