• Or you can eliminate the CASE altogether and do something like this

    SELECT 'ST_GR' = RIGHT('0' + CONVERT(varchar(2),ST.GR),2)