ETLCONFIGURATION

Stores information pertaining to ETL source.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
REVENUESTARTDATE datetime Default = '1753-01-01'
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.
VALIDSTARTDATE date Default = '1950-01-01'
VALIDENDDATE date Default = '2049-12-31'
ROWSINCHUNK int Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_ETLCONFIGURATION_DATEADDED DATEADDED yes
IX_ETLCONFIGURATION_DATECHANGED DATECHANGED
PK_ETLCONFIGURATION ID yes yes

Triggers

Trigger Name Description
TR_ETLCONFIGURATION_AUDIT_UPDATE
TR_ETLCONFIGURATION_AUDIT_DELETE