| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Inline Query ?
The INSTR() function works better than TRANSLATE() in this case.
E.g.
select
trim(
translate( lower('12983ABC187263goofy'),
'abcdefghijklmnopqrstuvwxyz1234567890',
' '
)
) TRANSLATED_RESULT,
Thus if INSTR() returns non-zero the phone number is invalid. That is pretty simple to DECODE() for a SUM().
-- BillyReceived on Fri Aug 15 2003 - 03:39:24 CDT
![]() |
![]() |