Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Find & Replace Data within phpMyAdmin

Posted on 2012-08-24
2
Medium Priority
?
463 Views
Last Modified: 2012-08-24
Hello ...

I'm trying to find a replace forward slashes with back slashes within a specific field  on a mysql table.

The SQL i'm using is as follows within phpMyadmin

UPDATE images_T SET image_path = replace(image_path, "\", "/");

Open in new window

But when I try this I receive the following message

ERROR: Unclosed quote @ 70
STR: "
SQL: UPDATE xcart_images_T_bck SET image_path = replace(image_path, "\", "/");

Any Ideas?

Many Thanks
0
Comment
Question by:Shafiq Khan
2 Comments
 
LVL 25

Accepted Solution

by:
lwadwell earned 2000 total points
ID: 38328743
It may be thinking you are escaping the quote ... try
UPDATE images_T SET image_path = replace(image_path, "\\", "/");
0
 
LVL 1

Author Closing Comment

by:Shafiq Khan
ID: 38328768
Great.. Many Thanks.

That did the trick :-)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question