• I used following to remove only trailing white spaces in a CHAR(30) column:

    RTRIM(LTRIM(CAST(City_Id As VARCHAR(30)))) AS City_Id

    Piyush Varma