Tag Archives: TRIM

SQL server ALLTRIM()

To trim leading spaces you can use LTRIM() and to remove trailing spaces you can use RTRIM() and to trim all you can use LTRIM(RTRIM(xxx)) but these functions do not account for non-printing characters that you may encounter when importing … Continue reading

Posted in Developer stuff, SQL Stuff | Tagged , , , | 3 Comments