BBAIMPORTFILES (4.0SP20)

This table contains the files used by Target Analytics for importing tables.

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.

ANALYTICSPROJECTID

uniqueidentifier

true

Fields
Field Field Type Null Notes Description

CONSTITUENTFILE

varbinary

true

Contains the binary data of the constituent import file.

CONSTITUENTFILENAME

nvarchar(255)

false

''

Contains the name of the constituent import file.

CONSTITUENTFILESTATUSCODE

tinyint

false

0

The load status of a constituent import file.

CONSTITUENTFILEERRORS

xml

true

Contains the errors that were encountered in loading a constituent file.

SUGGESTEDMEMBERSHIPLEVELSFILE

varbinary

true

Contains the binary data of the suggested membership levels import file.

SUGGESTEDMEMBERSHIPLEVELSFILENAME

nvarchar(255)

false

''

Contains the name of the suggested membership levels import file.

SUGGESTEDMEMBERSHIPLEVELSFILESTATUSCODE

tinyint

false

0

The load status of a suggested membership levels import file.

SUGGESTEDMEMBERSHIPLEVELSFILEERRORS

xml

true

Contains the errors that were encountered in loading a suggested membership levels file.

TARGETGIFTRANGESFILE

varbinary

true

Contains the binary data of the target gift ranges import file.

TARGETGIFTRANGESFILENAME

nvarchar(255)

false

''

Contains the name of the target gift ranges import file.

TARGETGIFTRANGESFILESTATUSCODE

tinyint

false

0

The load status of a target gift ranges import file.

TARGETGIFTRANGESFILEERRORS

xml

true

Contains the errors that were encountered in loading a target gift ranges file.

WEALTHESTIMATORRATINGSFILE

varbinary

true

Contains the binary data of the wealth estimator ratings import file.

WEALTHESTIMATORRATINGSFILENAME

nvarchar(255)

false

''

Contains the name of the wealth estimator ratings import file.

WEALTHESTIMATORRATINGSFILESTATUSCODE

tinyint

false

0

The load status of a wealth estimator ratings import file.

WEALTHESTIMATORRATINGSFILEERRORS

xml

true

Contains the errors that were encountered in loading a wealth estimator ratings file.

MODELINGANDPROPENSITYFILE

varbinary

true

Contains the binary data of the modeling and propensity import file.

MODELINGANDPROPENSITYFILENAME

nvarchar(255)

false

''

Contains the name of the modeling and propensity import file.

MODELINGANDPROPENSITYFILESTATUSCODE

tinyint

false

0

The load status of a modeling and propensity import file.

MODELINGANDPROPENSITYFILEERRORS

xml

true

Contains the errors that were encountered in loading a modeling and propensity file.

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.

AUXILIARYRESEARCHGROUPSIZE

int

false

5000

Contains the max size of research groups that are created from the import.

CONSTITUENTFILESTATUS

nvarchar(12) (Computed)

true

Provides a translation for the 'CONSTITUENTFILESTATUSCODE' field.

SUGGESTEDMEMBERSHIPLEVELSFILESTATUS

nvarchar(12) (Computed)

true

Provides a translation for the 'SUGGESTEDMEMBERSHIPLEVELSFILESTATUSCODE' field.

TARGETGIFTRANGESFILESTATUS

nvarchar(12) (Computed)

true

Provides a translation for the 'TARGETGIFTRANGESFILESTATUSCODE' field.

WEALTHESTIMATORRATINGSFILESTATUS

nvarchar(12) (Computed)

true

Provides a translation for the 'WEALTHESTIMATORRATINGSFILESTATUSCODE' field.

MODELINGANDPROPENSITYFILESTATUS

nvarchar(12) (Computed)

true

Provides a translation for the 'MODELINGANDPROPENSITYFILESTATUSCODE' field.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BBAIMPORTFILES_DATEADDED

DATEADDED

False

False

True

IX_BBAIMPORTFILES_DATECHANGED

DATECHANGED

False

False

False

PK_BBAIMPORTFILES

ID

True

True

False

Triggers
Trigger Name Description

TR_BBAIMPORTFILES_AUDIT_UPDATE

TR_BBAIMPORTFILES_AUDIT_DELETE