Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in MySQL only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
MySQL
Simple Question from an idiot . .
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
warthogweb
New Member
Join Date:
Jul 2006
Posts:
7
#1
Simple Question from an idiot . .
Jul 19 '06, 11:25 AM
I want to replace one string in a column - for example, a whole lot of 'catsanddogs' with 'Cats and Dogs'. The tablename is 'berg' and the field name is 'type'.
Thanks,
Martin
Banfa
Recognized Expert
Expert
Join Date:
Feb 2006
Posts:
9067
#2
Jul 19 '06, 11:34 AM
Try
UPDATE berg SET type="'Cats and Dogs" WHERE type="catsanddo gs";
backup your data first.
Comment
Post
Cancel
warthogweb
New Member
Join Date:
Jul 2006
Posts:
7
#3
Jul 20 '06, 07:07 AM
Brilliant - to the point & perfect! Thanks so much!
Martin
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment