Link to home
Start Free TrialLog in
Avatar of robrodp
robrodpFlag for Mexico

asked on

Replace single quote (') with a space in a mysql field myphpadmin

I have tried replace(myfield)=(myfield,''',' ') which obviouslyy does not work

Is there a mysql query that will replace all the ' with a space

All from the myphpadmin interface?
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Looks like your syntax is wrong.  I used this in the SQL box and it worked fine.  Change the table and column names to yours.
UPDATE `venues` SET `Venu_Name` = replace(`Venu_Name`, "'", ' ') WHERE 1

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Vishal Tankariya
Vishal Tankariya
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Relpace single quote with blank space.