Remove Last Character Sql Compiler