WORKSTATIONPRINTER
Describes a printer attached to a workstation.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
SEQUENCE |
int |
|
Default = 0 |
Describes the priority of the printer |
Foreign Keys
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. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_WORKSTATIONPRINTER_DATEADDED |
DATEADDED |
|
|
yes |
IX_WORKSTATIONPRINTER_DATECHANGED |
DATECHANGED |
|
|
|
PK_WORKSTATIONPRINTER |
ID |
yes |
yes |
|
UIX_WORKSTATIONPRINTER_WORKSTATIONID_PRINTERNAME |
WORKSTATIONID, PRINTERNAME |
yes |
|
|
Triggers
Referenced by