Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Find last occurance of character

Re: Find last occurance of character

From: hpuxrac <johnbhurley_at_sbcglobal.net>
Date: 2 Jun 2005 11:07:56 -0700
Message-ID: <1117735676.596175.55500@f14g2000cwb.googlegroups.com>


is there a way (using oracle functions) to find last occurance of character w/o writing a recursive function?

e.g. select XXXX('ooozo','o') from dual
would return 5

Thanks.

You can use INSTR with a -1 as last parameter Received on Thu Jun 02 2005 - 13:07:56 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US