<?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"
	>
<channel>
	<title>Comments on: Oracle in 3 Minutes: A Ticking Bomb</title>
	<atom:link href="http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<pubDate>Fri, 21 Nov 2008 00:02:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Pythian Group Blog &#187; Blog Archive &#187; Log Buffer #75: a Carnival of the Vanities for DBAs</title>
		<link>http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51854</link>
		<dc:creator>Pythian Group Blog &#187; Blog Archive &#187; Log Buffer #75: a Carnival of the Vanities for DBAs</dc:creator>
		<pubDate>Fri, 14 Dec 2007 18:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51854</guid>
		<description>[...] also has the second episode of his Oracle in 3 Minutes webcast, called A Ticking Bomb, or A Sleeper [...]</description>
		<content:encoded><![CDATA[<p>[...] also has the second episode of his Oracle in 3 Minutes webcast, called A Ticking Bomb, or A Sleeper [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51841</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Tue, 11 Dec 2007 05:29:50 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51841</guid>
		<description>@Justin: Good points. 

One more thing, if the to_char is used in the WHERE clause, that will break the use of indexes which may impact performance. So, a function based index may be a good option here.</description>
		<content:encoded><![CDATA[<p>@Justin: Good points. </p>
<p>One more thing, if the to_char is used in the WHERE clause, that will break the use of indexes which may impact performance. So, a function based index may be a good option here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Cave</title>
		<link>http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51840</link>
		<dc:creator>Justin Cave</dc:creator>
		<pubDate>Tue, 11 Dec 2007 02:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51840</guid>
		<description>When trying to filter out rows, be aware that there is no guarantee about what order Oracle executes the various conditions.  So you might well find that the invalid number error returns down the road when the query plan changes.  



Even if you nest the subquery, i.e.

&lt;pre&gt;
SELECT t1.col1, t2.col2
  FROM (SELECT t.col1 
          FROM table1 t 
         WHERE filter_out_non_numbers) t1,
       table2 t2
 WHERE t1.col1 = t2.col1
&lt;/pre&gt;

there is no guarantee that the inner subquery is logically materialized before the join (and the implicit conversion) happens.</description>
		<content:encoded><![CDATA[<p>When trying to filter out rows, be aware that there is no guarantee about what order Oracle executes the various conditions.  So you might well find that the invalid number error returns down the road when the query plan changes.  </p>
<p>Even if you nest the subquery, i.e.</p>
<pre>
SELECT t1.col1, t2.col2
  FROM (SELECT t.col1
          FROM table1 t
         WHERE filter_out_non_numbers) t1,
       table2 t2
 WHERE t1.col1 = t2.col1
</pre>
<p>there is no guarantee that the inner subquery is logically materialized before the join (and the implicit conversion) happens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Wolf</title>
		<link>http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51837</link>
		<dc:creator>Patrick Wolf</dc:creator>
		<pubDate>Mon, 10 Dec 2007 20:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51837</guid>
		<description>Yeah, reality sometimes is so far way from the "ideal" world :-)</description>
		<content:encoded><![CDATA[<p>Yeah, reality sometimes is so far way from the &#8220;ideal&#8221; world <img src='http://awads.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51836</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Mon, 10 Dec 2007 20:21:09 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51836</guid>
		<description>@Patrick: Sure, if you can change the data model, that will be a very good solution. But, sometimes reality hurts and you're stuck with a model that you have no control over. I sometimes do find myself in such a situation, unfortunately, especially when I deal with FlexFields (varchar2 columns) in Oracle EBS.</description>
		<content:encoded><![CDATA[<p>@Patrick: Sure, if you can change the data model, that will be a very good solution. But, sometimes reality hurts and you&#8217;re stuck with a model that you have no control over. I sometimes do find myself in such a situation, unfortunately, especially when I deal with FlexFields (varchar2 columns) in Oracle EBS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Wolf</title>
		<link>http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51835</link>
		<dc:creator>Patrick Wolf</dc:creator>
		<pubDate>Mon, 10 Dec 2007 20:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/12/10/oracle-in-3-minutes-a-ticking-bomb/#comment-51835</guid>
		<description>Solution 3:

Reconsider your data model if you are really going to compare two columns which obviously have the same content and meaning but are of different data type...

:-)
Patrick</description>
		<content:encoded><![CDATA[<p>Solution 3:</p>
<p>Reconsider your data model if you are really going to compare two columns which obviously have the same content and meaning but are of different data type&#8230;</p>
<p> <img src='http://awads.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
Patrick</p>
]]></content:encoded>
	</item>
</channel>
</rss>
