Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL character removal

Status
Not open for further replies.

babylno

Technical User
Feb 9, 2004
1
GB
Hi

I know very little about MySQL.

I have a field from which I would like to remove all apostrophes and I dont know the statement to do this. Any help would be appreciated.

Cheers
Andy
 
update your_table set your_field = replace(your_field,"'","");

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top