• DECLARE @test-2 varchar(max)

    SET @test-2 = CHAR(1)+CHAR(87)+CHAR(179)

    SELECT CAST(CAST(SUBSTRING(@test,1,3) as varbinary(3)) as int)

    Far away is close at hand in the images of elsewhere.
    Anon.