Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
nvarchar(100) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
nvarchar(100) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
UDT_FUZZYDATE | Default = '00000000' | ||
![]() |
tinyint | Default = 0 | 0=Unknown, 1=Male, 2=Female | |
![]() |
UDT_WEBADDRESS | Default = '' | ||
![]() |
bit | Default = 0 | ||
![]() |
int | Default = 0 | ||
![]() |
int | Default = 0 | ||
![]() |
nvarchar(150) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
nvarchar(12) | Default = '' | ||
![]() |
bit | Default = 0 | ||
![]() |
UDT_EMAILADDRESS | Default = '' | ||
![]() |
int | Default = 0 | ||
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
![]() |
nvarchar(100) | Default = '' | User-definable custom identifier. | |
![]() |
int | Identity column used to increment the default lookupid. | ||
![]() |
nvarchar(100) | Default = '' | ||
![]() |
nvarchar(10) | Default = '' | ||
![]() |
nvarchar(8) | Default = '' | ||
![]() |
nvarchar(5) | Default = '' | ||
![]() |
UDT_MONTHDAY | Default = '0000' | ||
![]() |
UDT_MONTHDAY | Default = '0000' | ||
![]() |
bit | Default = 0 | ||
![]() |
UDT_FUZZYDATE | Default = '00000000' | ||
![]() |
bit | Default = 0 | ||
![]() |
tinyint | Default = 0 | 0=Unknown, 1=Currently Attending, 2=Incomplete, 3=Graduated | |
![]() |
UDT_YEAR | Default = ((0)) | ||
![]() |
decimal(3, 2) | Default = 0 | ||
![]() |
UDT_FUZZYDATE | Default = '00000000' | ||
![]() |
UDT_FUZZYDATE | Default = '00000000' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
nvarchar(100) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
nvarchar(100) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
tinyint | Default = 0 | 0=Unknown, 1=Male, 2=Female | |
![]() |
UDT_FUZZYDATE | Default = '00000000' | ||
![]() |
UDT_EMAILADDRESS | Default = '' | ||
![]() |
nvarchar(100) | Default = '' | ||
![]() |
nvarchar(100) | Default = '' | ||
![]() |
UDT_EMAILADDRESS | Default = '' | ||
![]() |
nvarchar(150) | Default = '' | ||
![]() |
nvarchar(50) | Default = '' | ||
![]() |
nvarchar(12) | Default = '' | ||
![]() |
nvarchar(10) | Default = '' | ||
![]() |
nvarchar(8) | Default = '' | ||
![]() |
nvarchar(5) | Default = '' | ||
![]() |
bit | Default = 0 | ||
![]() |
int | Default = 0 | ||
![]() |
int | Default = 0 | ||
![]() |
UDT_WEBADDRESS | Default = '' | ||
![]() |
bit | Default = 0 | ||
![]() |
bit | Default = 0 | ||
![]() |
bit | Default = 0 | ||
![]() |
bit | Default = 0 | ||
![]() |
tinyint | Default = 0 | 0=Household, 1=Custom | |
![]() |
datetime | ![]() |
Default = getdate() | |
![]() |
nvarchar(300) | Default = '' | ||
![]() |
bit | Default = 0 | ||
![]() |
datetime | ![]() |
||
![]() |
nvarchar(200) | Default = '' | ||
![]() |
int | Default = 0 | ||
![]() |
UDT_YEAR | Default = ((0)) | ||
![]() |
UDT_FUZZYDATE | Default = '00000000' | ||
![]() |
nvarchar(500) | Default = '' | ||
![]() |
UDT_FUZZYDATE | Default = '00000000' | ||
![]() |
UDT_FUZZYDATE | Default = '00000000' | ||
![]() |
bit | Default = 0 | ||
![]() |
bit | Default = 0 | ||
![]() |
nvarchar(7) (Computed) | ![]() |
CASE [GENDERCODE] WHEN 0 THEN N'Unknown' WHEN 1 THEN N'Male' WHEN 2 THEN N'Female' END | Provides a translation for the 'GENDERCODE' field. |
![]() |
nvarchar(19) (Computed) | ![]() |
CASE [EDUCATIONALHISTORY_CONSTITUENCYSTATUSCODE] WHEN 0 THEN N'Unknown' WHEN 1 THEN N'Currently Attending' WHEN 2 THEN N'Incomplete' WHEN 3 THEN N'Graduated' END | Provides a translation for the 'EDUCATIONALHISTORY_CONSTITUENCYSTATUSCODE' field. |
![]() |
nvarchar(7) (Computed) | ![]() |
CASE [SPOUSE_GENDERCODE] WHEN 0 THEN N'Unknown' WHEN 1 THEN N'Male' WHEN 2 THEN N'Female' END | Provides a translation for the 'SPOUSE_GENDERCODE' field. |
![]() |
nvarchar(9) (Computed) | ![]() |
CASE [GROUPTYPECODE] WHEN 0 THEN N'Household' WHEN 1 THEN N'Custom' END | Provides a translation for the 'GROUPTYPECODE' field. |
![]() |
date | ![]() |
Indicates the date that the constituent started using this address. | |
![]() |
bit | Default = 0 | ||
![]() |
nvarchar(100) (Computed) | ![]() |
(CASE LEN(CUSTOMIDENTIFIER) WHEN 0 THEN '8-' + CAST(SEQUENCEID AS nvarchar(20)) ELSE CUSTOMIDENTIFIER END) | Unique identifer that supports user defined values as well as system generated values. |
![]() |
nvarchar(100) | Default = '' | Store the job title value for a the primary business relationship | |
![]() |
nvarchar(100) | Default = '' | Stores the division of the job for this relationship | |
![]() |
nvarchar(100) | Default = '' | Stores the department of the job for this relationship | |
![]() |
nvarchar(50) | Default = '' | ||
![]() |
bit | Default = 0 | ||
![]() |
decimal(5, 2) | Default = 0 | ||
![]() |
bit | Default = 0 | ||
![]() |
decimal(5, 2) | Default = 0 | ||
![]() |
date | ![]() |
||
![]() |
date | ![]() |
||
![]() |
date | ![]() |
||
![]() |
bit | Default = 0 | ||
![]() |
decimal(5, 2) | Default = 0 | ||
![]() |
bit | Default = 0 | ||
![]() |
decimal(5, 2) | Default = 0 | ||
![]() |
date | ![]() |
||
![]() |
date | ![]() |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | BATCH.ID | FK to BATCH | |
![]() |
uniqueidentifier | ![]() |
TITLECODE.LOCALID | FK to TITLECODE |
![]() |
uniqueidentifier | ![]() |
SUFFIXCODE.LOCALID | FK to SUFFIXCODE |
![]() |
uniqueidentifier | ![]() |
INDUSTRYCODE.LOCALID | FK to INDUSTRYCODE |
![]() |
uniqueidentifier | ![]() |
CONSTITUENT.LOCALID | FK to CONSTITUENT |
![]() |
uniqueidentifier | ![]() |
ADDRESSTYPECODE.ID | FK to ADDRESSTYPECODE |
![]() |
uniqueidentifier | ![]() |
COUNTRY.LOCALID | FK to COUNTRY |
![]() |
uniqueidentifier | ![]() |
STATE.LOCALID | FK to STATE |
![]() |
uniqueidentifier | ![]() |
EMAILADDRESSTYPECODE.ID | FK to EMAILADDRESSTYPECODE |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
NAMEFORMATTYPECODE.ID | FK to NAMEFORMATTYPECODE |
![]() |
uniqueidentifier | ![]() |
NAMEFORMATFUNCTION.ID | FK to NAMEFORMATFUNCTION |
![]() |
uniqueidentifier | ![]() |
NAMEFORMATTYPECODE.ID | FK to NAMEFORMATTYPECODE |
![]() |
uniqueidentifier | ![]() |
NAMEFORMATFUNCTION.ID | FK to NAMEFORMATFUNCTION |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALINSTITUTION.ID | FK to EDUCATIONALINSTITUTION |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALHISTORYTYPECODE.ID | FK to EDUCATIONALHISTORYTYPECODE |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALHISTORYSTATUSCODE.ID | FK to EDUCATIONALHISTORYSTATUSCODE |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALDEGREECODE.ID | FK to EDUCATIONALDEGREECODE |
![]() |
uniqueidentifier | ![]() |
CONSTITUENT.LOCALID | FK to CONSTITUENT |
![]() |
uniqueidentifier | ![]() |
RELATIONSHIPTYPECODE.ID | FK to RELATIONSHIPTYPECODE |
![]() |
uniqueidentifier | ![]() |
RELATIONSHIPTYPECODE.ID | FK to RELATIONSHIPTYPECODE |
![]() |
uniqueidentifier | ![]() |
TITLECODE.LOCALID | FK to TITLECODE |
![]() |
uniqueidentifier | ![]() |
SUFFIXCODE.LOCALID | FK to SUFFIXCODE |
![]() |
uniqueidentifier | ![]() |
EMAILADDRESSTYPECODE.ID | FK to EMAILADDRESSTYPECODE |
![]() |
uniqueidentifier | ![]() |
CONSTITUENT.LOCALID | FK to CONSTITUENT |
![]() |
uniqueidentifier | ![]() |
RELATIONSHIPTYPECODE.ID | FK to RELATIONSHIPTYPECODE |
![]() |
uniqueidentifier | ![]() |
RELATIONSHIPTYPECODE.ID | FK to RELATIONSHIPTYPECODE |
![]() |
uniqueidentifier | ![]() |
PHONETYPECODE.LOCALID | FK to PHONETYPECODE |
![]() |
uniqueidentifier | ![]() |
EMAILADDRESSTYPECODE.ID | FK to EMAILADDRESSTYPECODE |
![]() |
uniqueidentifier | ![]() |
ADDRESSTYPECODE.ID | FK to ADDRESSTYPECODE |
![]() |
uniqueidentifier | ![]() |
COUNTRY.LOCALID | FK to COUNTRY |
![]() |
uniqueidentifier | ![]() |
STATE.LOCALID | FK to STATE |
![]() |
uniqueidentifier | ![]() |
INDUSTRYCODE.LOCALID | FK to INDUSTRYCODE |
![]() |
uniqueidentifier | ![]() |
CONSTITUENT.LOCALID | FK to CONSTITUENT |
![]() |
uniqueidentifier | ![]() |
CONSTIT_SECURITY_ATTRIBUTE.ID | The ID of the constituent security attribute that is assigned. |
![]() |
uniqueidentifier | ![]() |
GROUPTYPE.ID | FK to GROUPTYPE |
![]() |
uniqueidentifier | ![]() |
COUNTYCODE.LOCALID | FK to COUNTYCODE |
![]() |
uniqueidentifier | ![]() |
CONGRESSIONALDISTRICTCODE.ID | FK to CONGRESSIONALDISTRICTCODE |
![]() |
uniqueidentifier | ![]() |
STATEHOUSEDISTRICTCODE.ID | FK to STATEHOUSEDISTRICTCODE |
![]() |
uniqueidentifier | ![]() |
STATESENATEDISTRICTCODE.ID | FK to STATESENATEDISTRICTCODE |
![]() |
uniqueidentifier | ![]() |
LOCALPRECINCTCODE.ID | FK to LOCALPRECINCTCODE |
![]() |
uniqueidentifier | ![]() |
INFOSOURCECODE.ID | FK to INFOSOURCECODE |
![]() |
uniqueidentifier | ![]() |
REGIONCODE.LOCALID | FK to REGIONCODE |
![]() |
uniqueidentifier | ![]() |
DONOTMAILREASONCODE.ID | FK to DONOTMAILREASONCODE |
![]() |
uniqueidentifier | ![]() |
DONOTMAILREASONCODE.ID | FK to DONOTMAILREASONCODE |
![]() |
uniqueidentifier | ![]() |
ACADEMICCATALOGPROGRAM.ID | FK to ACADEMICCATALOGPROGRAM |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALPROGRAMCODE.ID | FK to EDUCATIONALPROGRAMCODE |
![]() |
uniqueidentifier | ![]() |
ACADEMICCATALOGDEGREE.ID | FK to ACADEMICCATALOGDEGREE |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALAWARDCODE.ID | FK to EDUCATIONALAWARDCODE |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALSOURCECODE.ID | FK to EDUCATIONALSOURCECODE |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALHISTORYLEVELCODE.ID | FK to EDUCATIONALHISTORYLEVELCODE |
![]() |
uniqueidentifier | ![]() |
EDUCATIONALHISTORYREASONCODE.ID | FK to EDUCATIONALHISTORYREASONCODE |
![]() |
uniqueidentifier | ![]() |
SITE.ID | The ID of the constituent site that is assigned. |
![]() |
uniqueidentifier | ![]() |
JOBCATEGORYCODE.ID | Stores the category of the job for the primary business relationship |
![]() |
uniqueidentifier | ![]() |
CAREERLEVELCODE.ID | Stores the career level of the job for the primary business relationship |
![]() |
uniqueidentifier | ![]() |
INFOSOURCECODE.ID | FK to INFOSOURCECODE |
![]() |
uniqueidentifier | ![]() |
TITLECODE.LOCALID | FK to TITLECODE |
![]() |
uniqueidentifier | ![]() |
SUFFIXCODE.LOCALID | FK to SUFFIXCODE |
![]() |
uniqueidentifier | ![]() |
TITLECODE.LOCALID | FK to TITLECODE |
![]() |
uniqueidentifier | ![]() |
SUFFIXCODE.LOCALID | FK to SUFFIXCODE |
![]() |
uniqueidentifier | ![]() |
JOBSCHEDULECODE.ID | Stores the schedule of the job for this relationship |
![]() |
uniqueidentifier | ![]() |
ETHNICITYCODE.LOCALID | FK to ETHNICITYCODE |
![]() |
uniqueidentifier | ![]() |
RELIGIONCODE.LOCALID | FK to RELIGIONCODE |
![]() |
uniqueidentifier | ![]() |
TARGETCODE.ID | FK to TARGETCODE |
![]() |
uniqueidentifier | ![]() |
INCOMECODE.LOCALID | FK to INCOMECODE |
![]() |
uniqueidentifier | ![]() |
COUNTRY.LOCALID | FK to COUNTRY |
![]() |
uniqueidentifier | ![]() |
REVENUERECOGNITIONTYPECODE.ID | FK to REVENUERECOGNITIONTYPECODE |
![]() |
uniqueidentifier | ![]() |
REVENUERECOGNITIONTYPECODE.ID | FK to REVENUERECOGNITIONTYPECODE |
![]() |
uniqueidentifier | ![]() |
REVENUERECOGNITIONTYPECODE.ID | FK to REVENUERECOGNITIONTYPECODE |
![]() |
uniqueidentifier | ![]() |
REVENUERECOGNITIONTYPECODE.ID | FK to REVENUERECOGNITIONTYPECODE |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
BATCHID | |||
![]() |
CUSTOMID | |||
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
PARENTCORPID | |||
![]() |
PRIMARYBUSINESS_PARENTCORPID | |||
![]() |
PRIMARYBUSINESSID | |||
![]() |
SPOUSEID | |||
![]() |
ID | ![]() |
![]() |
|
![]() |
LOOKUPID | ![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
ID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
![]() |
BATCHCONSTITUENTID |
Entity-Relationship diagram of this table (BATCHRESULTSA979005C_D15D_4A8A_8173_200318BB453A-EMAILADDRESSTYPECODE)
Entity-Relationship diagram of this table (ETHNICITYCODE-STATESENATEDISTRICTCODE)
Entity-Relationship diagram of this table (SUFFIXCODE-TITLECODE)