I have about 6k rows of data where we have &
in various different rows. I'd like to replace this with an ampersand sign if possible. Can someone please tell me how to do this with mysql? Thanks
views:
50answers:
1
+2
A:
The MySQL REPLACE function should work nicely:
UPDATE tablename SET fieldname = REPLACE(fieldname, "&", "&");
gahooa
2009-09-23 23:37:50
2009-09-23 23:44:22
Am I wrong or will this do what I need? I just don't want to make a mistake here. :)
2009-09-23 23:45:20
That did in fact work. Thanks a bunch gahooa!
2009-09-23 23:49:07