I have a column in my SQL Server database and it has white spaces from left and right site of the record. Basically it's a nvarchar(250)
column.
I have tried removing white spaces completely like this:
UPDATE MyTable
SET whitespacecolumn = LTRIM(RTRIM(whitespacecolumn))
But this didn't work out at all, the whitespace is still there. What am I doing wrong here?