<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: &#9733; Little known way to get the error message in PL/SQL</title>
	<atom:link href="http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<lastBuildDate>Mon, 21 May 2012 00:26:47 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Anjali</title>
		<link>http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/comment-page-1/#comment-52226</link>
		<dc:creator>Anjali</dc:creator>
		<pubDate>Mon, 28 Jul 2008 20:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/#comment-52226</guid>
		<description>&lt;p&gt;hi
i am preparing for job interviews as a pl/sql developer.
where can i find good interview questions on database triggers and cursors.
ne pointers to tat plzzz&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hi
i am preparing for job interviews as a pl/sql developer.
where can i find good interview questions on database triggers and cursors.
ne pointers to tat plzzz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/comment-page-1/#comment-52206</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Wed, 16 Jul 2008 18:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/#comment-52206</guid>
		<description>&lt;p&gt;@Matt Good point. Thanks for the tip.&lt;/p&gt;

&lt;p&gt;@Guillaume I&#039;m afraid I cannot help you with C.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Matt Good point. Thanks for the tip.</p>

<p>@Guillaume I&#8217;m afraid I cannot help you with C.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/comment-page-1/#comment-52204</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Wed, 16 Jul 2008 14:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/#comment-52204</guid>
		<description>&lt;p&gt;Does anyone of you knows how to do the same in c.
You pass an error code and you get the message like perror in Unix.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Does anyone of you knows how to do the same in c.
You pass an error code and you get the message like perror in Unix.</p>

<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Symes</title>
		<link>http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/comment-page-1/#comment-52202</link>
		<dc:creator>Matt Symes</dc:creator>
		<pubDate>Wed, 16 Jul 2008 08:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/#comment-52202</guid>
		<description>&lt;p&gt;That should, of course, have ended with&lt;/p&gt;

&lt;p&gt;ELSE 
    RAISE; 
  END IF; 
END;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That should, of course, have ended with</p>

<p>ELSE 
    RAISE; 
  END IF; 
END;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Symes</title>
		<link>http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/comment-page-1/#comment-52201</link>
		<dc:creator>Matt Symes</dc:creator>
		<pubDate>Wed, 16 Jul 2008 08:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/#comment-52201</guid>
		<description>&lt;p&gt;I think this article misses the real difference between SQLERRM and FORMAT_ERROR_STACK.&lt;/p&gt;

&lt;p&gt;The latter returns the entire error stack (the clue is in the name). Sometimes the real error you want to identify is some way down the error stack - in which case SQLERRM is no good for you.&lt;/p&gt;

&lt;p&gt;If looking for a particular error number in FORMAT_ERROR_STACK you can simply do a:&lt;/p&gt;

&lt;p&gt;EXCEPTION
 WHEN OTHERS THEN
   IF INSTR(dbms_utility.format_error_stack, &#039;ORA-12345&#039;) != 0 THEN ...
 ELSE
  RAISE;
END;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think this article misses the real difference between SQLERRM and FORMAT_ERROR_STACK.</p>

<p>The latter returns the entire error stack (the clue is in the name). Sometimes the real error you want to identify is some way down the error stack &#8211; in which case SQLERRM is no good for you.</p>

<p>If looking for a particular error number in FORMAT_ERROR_STACK you can simply do a:</p>

<p>EXCEPTION
 WHEN OTHERS THEN
   IF INSTR(dbms_utility.format_error_stack, &#8216;ORA-12345&#8242;) != 0 THEN &#8230;
 ELSE
  RAISE;
END;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

