lisovaccaro
lisovaccaro

Reputation: 33996

Replace all characters in strings in database for others?

I want to replace all 'á' in table Cities and column Domain for 'a'.

EG:

ID   Domain
1    árbol
2    megá

RESULT:

ID   Domain
1    arbol
2    mega

How can this be done?

Upvotes: 0

Views: 46

Answers (1)

sel
sel

Reputation: 4957

UPDATE Cities
   SET Domain = REPLACE(Domain,'á','a');

Upvotes: 1

Related Questions