tags:

views:

20

answers:

2

I have a column called <locations>, I want to find all matching values (ex: Canada) and replace with a different value (ex: Mexico).

How do I go about that?

Thanks.

+2  A: 

Like so:

update yourtable set locations = 'Mexico' where locations = 'Canada';
klausbyskov
Grr. you beat me ;-)
Yves M.
+1  A: 

Hmm something like

UPDATE yourTable SET locations = 'Mexico' WHERE locations = 'Canada'
Yves M.