Jul 28, 2003 #1 d4n0 Programmer Jun 26, 2003 9 GB Hi, I need to remove whitespace from all the values in a certain column in a table. I want to do something like: update myTable set colName = trim(colName) but that's not doing the trick. Any suggestions? Cheers, Dan.
Hi, I need to remove whitespace from all the values in a certain column in a table. I want to do something like: update myTable set colName = trim(colName) but that's not doing the trick. Any suggestions? Cheers, Dan.
Jul 28, 2003 #2 JayKusch MIS Oct 30, 2001 3,199 US Define "whitespace" for us. Thanks J. Kusch Upvote 0 Downvote
Jul 28, 2003 #3 Jamfool IS-IT--Management Apr 10, 2003 484 GB UPDATE table_name set column_name = REPLACE(column_name, ' ', '') replaces the first quoted with the 2nd quoted e.g a space with nothing Upvote 0 Downvote
UPDATE table_name set column_name = REPLACE(column_name, ' ', '') replaces the first quoted with the 2nd quoted e.g a space with nothing