The table is:
CREATE TABLE [dbo].[SUTStatus] (
[BarCode] [varchar] (10) COLLATE Latin1_General_BIN NOT NULL ,
[TimeStamp] [datetime] NOT NULL ,
[StageCode] [int] NOT NULL ,
[PhaseID] [int] NOT NULL ,
[MacAddress] [varchar] (12) COLLATE Latin1_General_BIN NOT...