Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to Update column?

Author  Topic 

raysefo
Constraint Violating Yak Guru

260 Posts

Posted - 2011-10-13 : 05:32:22
Hi,

I have a table and in of it's column there are values with whitespace. I wonder if I can update this column and get rid of the whitespaces.

Best Regards.

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2011-10-13 : 05:43:10
you can use REPLACE()


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -