<?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: Funny Developer Tricks &#8211; upper(number)</title>
	<atom:link href="http://kerryosborne.oracle-guy.com/2010/04/funny-developer-tricks-uppernumber/feed/" rel="self" type="application/rss+xml" />
	<link>http://kerryosborne.oracle-guy.com/2010/04/funny-developer-tricks-uppernumber/</link>
	<description>Just another Oracle blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 21:28:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: osborne</title>
		<link>http://kerryosborne.oracle-guy.com/2010/04/funny-developer-tricks-uppernumber/#comment-9046</link>
		<dc:creator>osborne</dc:creator>
		<pubDate>Wed, 14 Apr 2010 03:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=2348#comment-9046</guid>
		<description>Hey Joel,

  I didn&#039;t actually check to see if they had any records with non-numeric data. Mayne I&#039;ll go back and check that. As you say, it&#039;s just an every day event. 

Michael,

  That one must be embedded in a view (or two or three) to get 2 full table scans on the same table.

Kerry</description>
		<content:encoded><![CDATA[<p>Hey Joel,</p>
<p>  I didn&#8217;t actually check to see if they had any records with non-numeric data. Mayne I&#8217;ll go back and check that. As you say, it&#8217;s just an every day event. </p>
<p>Michael,</p>
<p>  That one must be embedded in a view (or two or three) to get 2 full table scans on the same table.</p>
<p>Kerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel garry</title>
		<link>http://kerryosborne.oracle-guy.com/2010/04/funny-developer-tricks-uppernumber/#comment-9042</link>
		<dc:creator>joel garry</dc:creator>
		<pubDate>Tue, 13 Apr 2010 23:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=2348#comment-9042</guid>
		<description>I&#039;d like to see where upper(acct_number) = &#039;x876876a&#039; :-)

But seriously, isn&#039;t it normal for a generic system to allow characters in &quot;account numbers?&quot;  I know you aren&#039;t going to publish every detail of this system, that wouldn&#039;t be funny, but &quot;probably&quot; causes me all sorts of grief with sloppy business analysis in my daily life, right up there with that guy &quot;Will Never.&quot;</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to see where upper(acct_number) = &#8216;x876876a&#8217; :-)</p>
<p>But seriously, isn&#8217;t it normal for a generic system to allow characters in &#8220;account numbers?&#8221;  I know you aren&#8217;t going to publish every detail of this system, that wouldn&#8217;t be funny, but &#8220;probably&#8221; causes me all sorts of grief with sloppy business analysis in my daily life, right up there with that guy &#8220;Will Never.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Paddock</title>
		<link>http://kerryosborne.oracle-guy.com/2010/04/funny-developer-tricks-uppernumber/#comment-8995</link>
		<dc:creator>Michael Paddock</dc:creator>
		<pubDate>Mon, 12 Apr 2010 16:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=2348#comment-8995</guid>
		<description>Just found this great idea:

Two occurrences of &#039;where column is null&#039; in the one statement forcing a double full table scan of a 7 million row table. 

The problem? EVERY value in the table is NULL!!!</description>
		<content:encoded><![CDATA[<p>Just found this great idea:</p>
<p>Two occurrences of &#8216;where column is null&#8217; in the one statement forcing a double full table scan of a 7 million row table. </p>
<p>The problem? EVERY value in the table is NULL!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: artemg</title>
		<link>http://kerryosborne.oracle-guy.com/2010/04/funny-developer-tricks-uppernumber/#comment-8946</link>
		<dc:creator>artemg</dc:creator>
		<pubDate>Sun, 11 Apr 2010 07:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=2348#comment-8946</guid>
		<description>I saw that trick many times when developers want to build their SQL statement &quot;dynamically&quot; with separate codepieces for &quot;from&quot;, &quot;where&quot;, &quot;order by&quot; etc. The last example was otrs (otrs.org), they are using the same 9000 lines perl function to build a select to search through several &quot;key&quot; columns of ticket table (look at the schema it has lot of fun inside too ftp://ftp.otrs.org/pub/otrs/misc/otrs-2.4-database.png),so they have to use the ugly lower(number) trick because they cannot be sure of the datatype of their argument.</description>
		<content:encoded><![CDATA[<p>I saw that trick many times when developers want to build their SQL statement &#8220;dynamically&#8221; with separate codepieces for &#8220;from&#8221;, &#8220;where&#8221;, &#8220;order by&#8221; etc. The last example was otrs (otrs.org), they are using the same 9000 lines perl function to build a select to search through several &#8220;key&#8221; columns of ticket table (look at the schema it has lot of fun inside too <a href="ftp://ftp.otrs.org/pub/otrs/misc/otrs-2.4-database.png" rel="nofollow">ftp://ftp.otrs.org/pub/otrs/misc/otrs-2.4-database.png</a>),so they have to use the ugly lower(number) trick because they cannot be sure of the datatype of their argument.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

