Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 PRINTERNAME nvarchar(255)   Default = '' Unique name of the printer on the workstation
 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.
 SEQUENCE int   Default = 0 Describes the priority of the printer

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

Index Name Field(s) Unique Primary Clustered
 IX_WORKSTATIONPRINTER_DATEADDED DATEADDED    
 IX_WORKSTATIONPRINTER_DATECHANGED DATECHANGED      
 PK_WORKSTATIONPRINTER ID  
 UIX_WORKSTATIONPRINTER_WORKSTATIONID_PRINTERNAME WORKSTATIONID, PRINTERNAME    

Trigger Name Description
 TR_WORKSTATIONPRINTER_AUDIT_UPDATE
 TR_WORKSTATIONPRINTER_AUDIT_DELETE

Referenced by Field
 WORKSTATION CASHDRAWERPRINTERID

Entity-Relationship diagram of this table