Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: single quote in instr Oracle PL/SQL
Yes, I see your point now and agree that just using translate, instead
of combining translate and replace, should be more efficient. So, the
revised query would be something like:
scott_at_ORA92> SELECT TRANSLATE ('1234''~!@abcd',
2 'a~`!@#$%^&*()_+={}[]|\:;''",.<>?', 3 'a')
TRANSLAT
1 row selected. Received on Mon May 30 2005 - 16:23:53 CDT