Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> translate
Hi!
If you can't catch exceptions in you environment you may work along the lines of:
SELECT DECODE(NVL(TRIM(TRANSLATE ('7a868','123456789',' ')),'NULL'),
'NULL','NUMBER',
'SOMETHING ELSE')
where '7a868' is the input text.
The other suggestions here on your questions are a lot more readable though
Frank Received on Fri Apr 27 2001 - 11:35:13 CDT
![]() |
![]() |