[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

mysql query replace

Posted on 2011-04-19
2
Medium Priority
?
213 Views
Last Modified: 2012-06-27
what is the correct mysql syntax to replace every instance of 'money' in column Source to 'monies'?
0
Comment
Question by:pda4me
2 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 2000 total points
ID: 35426896
You can use this one:
Update TableName set Source = replace(Source, 'money', 'monies')
0
 

Author Closing Comment

by:pda4me
ID: 35698932
Cool, thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
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…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

872 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