Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NUMBERROWSADDED int   Default = 0 Number of rows added by the user
 NUMBERROWSCHANGED int   Default = 0 Number of rows changed by the user
 NUMBERROWSDELETED int   Default = 0 Number of rows deleted by the user
 NUMBERROWSCOMMITTEDSUCCESSFULLY int   Default = 0 Number of rows successfully committed by the user
 NUMBERROWEXCEPTIONS int   Default = 0 Number of row exceptions
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 BATCHID uniqueidentifier   BATCH.ID FK to BATCH
 APPUSERID uniqueidentifier   APPUSER.ID FK to APPUSER
 BATCHTYPECATALOGID uniqueidentifier   BATCHTYPECATALOG.ID FK to BATCHTYPECATALOG
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_BATCHSTATISTICS_APPUSERID_BATCHTYPECATALOGID APPUSERID, BATCHTYPECATALOGID      
 IX_BATCHSTATISTICS_DATEADDED DATEADDED    
 IX_BATCHSTATISTICS_DATECHANGED DATECHANGED      
 PK_BATCHSTATISTICS ID  

Trigger Name Description
 TR_BATCHSTATISTICS_AUDIT_UPDATE
 TR_BATCHSTATISTICS_AUDIT_DELETE

Entity-Relationship diagram of this table