View Single Post
Old 10-17-2008, 04:31 PM  
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 3,765
Quote:
Originally Posted by GrouchyAdmin View Post
update table set foo=replace(foo, 'bad', 'good');
give it to grouchy...

"table" = name of table
"foo" = field name
bad = that bad apostrophe
good = good apostrophe

Code:
UPDATE tablename SET fieldname = replace(fieldname, '*funky apostrophe here*', ''');
something like that
__________________
flexx [dot] aeon [at] gmail
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote