EMAILFINDER
The EmailFinder process is represented by this table.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(150) |
|
Default = '' |
Name to be used if there is no site. |
| DESCRIPTION |
nvarchar(250) |
|
Default = '' |
The description of the EmailFinder process. |
| DATELASTRUN |
datetime |
yes |
|
Stores the date of the list time one of the steps was run. |
| STEPCODE |
tinyint |
|
Default = 0 |
Tracks the most current state of the EmailFinder process. |
| STEP |
nvarchar(25) (Computed) |
yes |
CASE [STEPCODE] WHEN 0 THEN N'Last run on:' WHEN 1 THEN N'Created and submitted on:' WHEN 2 THEN N'Received on:' WHEN 3 THEN N'Committed on:' WHEN 4 THEN N'Resubmitted on:' END |
Provides a translation for the 'STEPCODE' field. |
| FILENAME |
nvarchar(256) |
|
Default = '' |
The file name of the generated file that is to be uploaded to Blackbaud. |
| FILEUPLOADED |
bit |
|
Default = 0 |
Indicates whether the process created file has been uploaded to Blackbaud. |
| FILEAVAILABLE |
bit |
|
Default = 0 |
Indicates whether the file has been processed by Blackbaud and is available to download. |
| FILEDOWNLOADED |
bit |
|
Default = 0 |
Indicates whether the results file has been downloaded from Blackbaud. |
| PRIMARYCONTACTNAME |
nvarchar(250) |
|
Default = '' |
The name of the primary person when data tune-up is complete. |
| PRIMARYCONTACTEMAIL |
UDT_EMAILADDRESS |
|
Default = '' |
The email address of the primary contact when data tune-up is complete. |
| PRIMARYCONTACTPHONE |
nvarchar(20) |
|
Default = '' |
The phone number of the primary contact when data tune-up is complete. |
| ALTERNATECONTACTNAME |
nvarchar(250) |
|
Default = '' |
The name of the primary person when data tune-up is complete. |
| ALTERNATECONTACTEMAIL |
UDT_EMAILADDRESS |
|
Default = '' |
The email address of the primary contact when data tune-up is complete. |
| ALTERNATECONTACTPHONE |
nvarchar(20) |
|
Default = '' |
The phone number of the primary contact when data tune-up is complete. |
| DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
| DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
| TS |
timestamp |
|
|
Timestamp. |
| TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
| OPTOUTSUBJECT |
nvarchar(255) |
|
Default = '' |
|
| OPTOUTREPLYTO |
UDT_EMAILADDRESS |
|
Default = '' |
|
| OPTOUTORG |
nvarchar(150) |
|
Default = '' |
|
| OPTOUTADDRESS |
nvarchar(300) |
|
Default = '' |
|
| OPTOUTPHONE |
nvarchar(150) |
|
Default = '' |
|
| OPTOUTWEBSITE |
nvarchar(150) |
|
Default = '' |
|
| OPTOUTMISSION |
nvarchar(300) |
|
Default = '' |
|
| OPTOUTDEFAULTEMAIL |
nvarchar(1024) |
|
Default = '' |
|
| MARKASPRIMARY |
bit |
|
Default = 0 |
|
| INFOSOURCECOMMENTS |
nvarchar(256) |
|
Default = '' |
|
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
Foreign key for site table. |
| BATCHID |
uniqueidentifier |
yes |
BATCH.ID
|
The batch instance into which the data will be imported. |
| BATCHAPPUSERID |
uniqueidentifier |
yes |
APPUSER.ID
|
Represents the user who will be the owner of the batch once it is created by the import process. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| EMAILADDRESSTYPECODEID |
uniqueidentifier |
yes |
EMAILADDRESSTYPECODE.ID
|
FK to EMAILADDRESSTYPECODE |
| INFOSOURCECODEID |
uniqueidentifier |
yes |
INFOSOURCECODE.ID
|
FK to INFOSOURCECODE |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_EMAILFINDER_DATEADDED |
DATEADDED |
|
|
yes |
| IX_EMAILFINDER_DATECHANGED |
DATECHANGED |
|
|
|
| PK_EMAILFINDER |
ID |
yes |
yes |
|
| UIX_EMAILFINDER_SITEID |
SITEID |
yes |
|
|
Triggers
Referenced by