I'm trying to remove whitespace and trailing white space from right and left side of my string in DB.
Note how the current results looklike:
Note the string named:
*excellent-purchase*
When I fetch it in my C# application like this:
ctx.Users.ToList();
The output for this string that I get is:
\t*excellent-purchase*
I need to remove this "\t" sign from my C# application either on DB level or inside the C# application.
The way I've tried it is like doing it is like this:
UPDATE
TableName
SET
ColumnName = LTRIM(RTRIM(ColumnName))
But I still get this \t sign in my C# app...
How can I fix this?
Edit:
guys I still have a weird characther like this:
"nl_holyland*555*
And in the C# App it looks like:
\"nl_holyland*555*
Theres an extra \ with this solution like