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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Looking for a SQL Function

Re: Looking for a SQL Function

From: R. P. <r_pol12gar_at_hotmail.com>
Date: Sun, 6 Nov 2005 11:33:48 -0800
Message-ID: <isKdnXU0mK4Gx_PeRVn-tQ@comcast.com>


"Michael O'Shea" <mdo_remove_at_strychnine.co.uk> wrote:
> To extend to the contributions in this thread so far, if the
> requirement were that the substring was a regex rather than a string
> literal, then the following snippet might prove useful.
>
> The example demonstrates how to count the number of occurrences of a
> substring (in this case two consecutive letters between A and M
> followed by a digit) in SQL.
>
> Oracle 10g regular expression extensions are discussed here:
> http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200.pdf

That's definitely something that might come handy some day. Too bad though that one has to register for that link.

Rudy Received on Sun Nov 06 2005 - 13:33:48 CST

Original text of this message

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