remove enter key from string in sql code example Example: sql server remove enter from string SELECT REPLACE(REPLACE(@str, CHAR(13), ''), CHAR(10), '')