BATCHAMPROIMPORTEVENT

Stores rows relating to auction events which are imported from AuctionMaestro Pro.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
EVENT_NAME nvarchar(100) Default = ''
EVENT_STARTDATE datetime yes
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.

Foreign Keys

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

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHAMPROIMPORTEVENT_DATEADDED DATEADDED yes
IX_BATCHAMPROIMPORTEVENT_DATECHANGED DATECHANGED
PK_BATCHAMPROIMPORTEVENT ID yes yes

Triggers

Trigger Name Description
TR_BATCHAMPROIMPORTEVENT_AUDIT_UPDATE
TR_BATCHAMPROIMPORTEVENT_AUDIT_DELETE