<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PL/SQL updates in Oracle 11g</title>
	<atom:link href="http://www.oracle-base.com/blog/2007/09/04/plsql-updates-in-oracle-11g/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oracle-base.com/blog/2007/09/04/plsql-updates-in-oracle-11g/</link>
	<description>Oracle related rants (and lots of off-topic stuff)...</description>
	<lastBuildDate>Sat, 11 Feb 2012 20:21:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Laurent Schneider</title>
		<link>http://www.oracle-base.com/blog/2007/09/04/plsql-updates-in-oracle-11g/comment-page-1/#comment-36457</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Thu, 06 Sep 2007 13:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.oracle-base.com/blog/2007/09/04/plsql-updates-in-oracle-11g/#comment-36457</guid>
		<description>I raised an enhancement request during the beta phase to be able to use mixed notation with standard functions too


select regexp_substr(&#039;a-b-c-d-e&#039;,&#039;(.)-(.)-(.)-(.)-(.)&#039;,1,1,null,3) from dual;
R
-
c


unfortunately, the following does not work


select regexp_substr(&#039;a-b-c-d-e&#039;,&#039;(.)-(.)-(.)-(.)-(.)&#039;,subexpression=&gt;3) from dual;
select regexp_substr(&#039;a-b-c-d-e&#039;,&#039;(.)-(.)-(.)-(.)-(.)&#039;,subexpression=&gt;3) from dual
                                                                    *
ERROR at line 1:
ORA-00907: missing right parenthesis

and the workaround to use full qualification have the side effect of not recognizing the max length of 

 
select sys.standard.regexp_substr(&#039;a-b-c-d-e&#039;,&#039;(.)-(.)-(.)-(.)-(.)&#039;,subexpression=&gt;3) from dual;
SYS.STANDARD.REGEXP_SUBSTR(&#039;A-B-C-D-E&#039;,&#039;(.)-(.)-(.)-(.)-(.)&#039;,SUBEXPRESSION=&gt;3)
---------------------------------------------------------------------------------------------------------------------------------------
c


Cheers,
Laurent</description>
		<content:encoded><![CDATA[<p>I raised an enhancement request during the beta phase to be able to use mixed notation with standard functions too</p>
<p>select regexp_substr(&#8216;a-b-c-d-e&#8217;,'(.)-(.)-(.)-(.)-(.)&#8217;,1,1,null,3) from dual;<br />
R<br />
-<br />
c</p>
<p>unfortunately, the following does not work</p>
<p>select regexp_substr(&#8216;a-b-c-d-e&#8217;,'(.)-(.)-(.)-(.)-(.)&#8217;,subexpression=&gt;3) from dual;<br />
select regexp_substr(&#8216;a-b-c-d-e&#8217;,'(.)-(.)-(.)-(.)-(.)&#8217;,subexpression=&gt;3) from dual<br />
                                                                    *<br />
ERROR at line 1:<br />
ORA-00907: missing right parenthesis</p>
<p>and the workaround to use full qualification have the side effect of not recognizing the max length of </p>
<p>select sys.standard.regexp_substr(&#8216;a-b-c-d-e&#8217;,'(.)-(.)-(.)-(.)-(.)&#8217;,subexpression=&gt;3) from dual;<br />
SYS.STANDARD.REGEXP_SUBSTR(&#8216;A-B-C-D-E&#8217;,'(.)-(.)-(.)-(.)-(.)&#8217;,SUBEXPRESSION=&gt;3)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
c</p>
<p>Cheers,<br />
Laurent</p>
]]></content:encoded>
	</item>
</channel>
</rss>

