Dec 13, 2002 #1 gerito Programmer Sep 11, 2002 8 ES How can I do something like this: "UPDATE _table SET _c = (REPLACE(_c, '±', 'ñ') REPLACE(_c, 'ß', 'á') REPLACE(_c, '¾', 'ó'))" because this code is erroneus. Thanks and greetings.
How can I do something like this: "UPDATE _table SET _c = (REPLACE(_c, '±', 'ñ') REPLACE(_c, 'ß', 'á') REPLACE(_c, '¾', 'ó'))" because this code is erroneus. Thanks and greetings.
Dec 13, 2002 1 #2 disord3r Programmer Apr 12, 2002 189 US I think it's beacuse you can't string together a bunch of REPLACE functions like that. Try it like this: UPDATE _table SET _c = (REPLACE(REPLACE(REPLACE(_c, '¾', 'ó'), 'ß', 'á'), '±', 'ñ')) Upvote 0 Downvote
I think it's beacuse you can't string together a bunch of REPLACE functions like that. Try it like this: UPDATE _table SET _c = (REPLACE(REPLACE(REPLACE(_c, '¾', 'ó'), 'ß', 'á'), '±', 'ñ'))
Dec 13, 2002 #4 GlenJohnson MIS Aug 2, 2001 5,203 US Just curious, why didn't you post this in the sql forum? Glen A. Johnson Johnson Computer Consulting MCP W2K glen@johnsoncomputers.us "There is only one good: knowledge; and only one evil: ignorance." Socrates (470- 399 BC); Greek philosopher. Upvote 0 Downvote
Just curious, why didn't you post this in the sql forum? Glen A. Johnson Johnson Computer Consulting MCP W2K glen@johnsoncomputers.us "There is only one good: knowledge; and only one evil: ignorance." Socrates (470- 399 BC); Greek philosopher.