<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Eddie Awad's Blog</title>
	
	<link>http://awads.net/wp</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<lastBuildDate>Wed, 28 Jul 2010 15:48:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/EddieAwadsFeed" /><feedburner:info uri="eddieawadsfeed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://superfeedr.com/hubbub" /><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license><image><link>http://awads.net/wp/</link><url>http://feeds.feedburner.com/~fc/EddieAwadsFeed?bg=99CCFF&amp;amp;fg=444444&amp;amp;anim=0</url><title>awads.net/wp</title></image><item>
		<title>6 Interesting Things You May Have Missed on 2010-07-28</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/pVxzRdVnWeI/</link>
		<comments>http://awads.net/wp/2010/07/28/6-interesting-things-you-may-have-missed-on-2010-07-28/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 14:03:23 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Interesting Stuff]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://awads.net/wp/2010/07/28/links-for-2010-07-28/</guid>
		<description><![CDATA[Links to interesting, educational, informational, or just plain fun websites...]]></description>
			<content:encoded><![CDATA[<ul class="delicious"><li>
<div class="delicious-link"><a href="http://blogs.oracle.com/otn/2010/07/we_all_are_one.html?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+orana+%28OraNA%29&amp;utm_content=Google+Reader" title="We All Are One (Oracle Technology Network Blog)">We All Are One (Oracle Technology Network Blog)</a></div>
<div class="delicious-extended">On July 27, Oracle completed the migration of all non-obsolete content from developers.sun.com, java.sun.com, and BigAdmin to a completely re-architected, re-designed Oracle Technology Network site. This site &#8211; which offers different entry points for Java Developers, Database Admins and Developers, System Admins and Developers, and Architects &#8211; reflects the full diversity of this huge technical end-user community.</div>
</li><li>
<div class="delicious-link"><a href="http://online.wsj.com/article/SB10001424052748703724104575379680484726298.html?mod=WSJ_hpp_MIDDLENexttoWhatsNewsTop" title="Oracle&#039;s Ellison Tops List of 25 Highest Paid CEOs of Decade">Oracle&#039;s Ellison Tops List of 25 Highest Paid CEOs of Decade</a></div>
<div class="delicious-extended">Larry Ellison, founder and chief executive of software maker Oracle Corp., topped the list of best-paid executives of public companies during the past decade, receiving $1.84 billion in compensation, according to a Wall Street Journal analysis of CEO pay.</div>
</li><li>
<div class="delicious-link"><a href="http://java.dzone.com/articles/how-conduct-effective-code" title="How to Conduct Effective Code Reviews">How to Conduct Effective Code Reviews</a></div>
<div class="delicious-extended">Code reviews are very important in any software project. More often only &quot;superficial&quot; reviews happen, the types where you get review comments like, &quot;You know the documentation for that method doesn&#039;t have the version number&quot;, or &quot;this variable is unused&quot;, etc. Although this is an essential part of any code review, it doesn&#039;t cover the subtle aspects of a real code review. It takes more than just a static code analyzer to perform a good code review. In this article the author shares a few points on how to make code reviews really effective.</div>
</li><li>
<div class="delicious-link"><a href="http://derwiki.tumblr.com/post/841579929/how-i-learned-to-stop-worrying-and-love-ssh" title="How I Learned to Stop Worrying and Love SSH">How I Learned to Stop Worrying and Love SSH</a></div>
<div class="delicious-extended">Before there were VPNs, there was ssh. And when you don’t have access to your VPN or can’t set one up, you can still get most of the functionality over ssh.</div>
</li><li>
<div class="delicious-link"><a href="http://css.dzone.com/articles/firebug-beautiful" title="Firebug is beautiful">Firebug is beautiful</a></div>
<div class="delicious-extended">Firebug is one of the most famous extension for the Firefox web browser. In the past years, the functionalities offered by this plugin alone sold Firefox as the platform for web development over Internet Explorer (besides the respect of W3C standards that characterized Firefox). Then, Chrome had not been invented yet and when it was released, it incorporated some of the innovations of Firebug like a functional JavaScript console.</div>
</li><li>
<div class="delicious-link"><a href="http://blog.ronnyegner-consulting.de/2010/07/22/tuning-linux-for-oracle/" title="Tuning Linux for Oracle">Tuning Linux for Oracle</a></div>
<div class="delicious-extended">Partition Alignment, Choosing a file system, Optimizing ext3, Enabling Huge Pages, Using Async and Direct IO, Tuning Swapping Priority and more.</div>
</li></ul>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F07%2F28%2F6-interesting-things-you-may-have-missed-on-2010-07-28%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2009/10/20/5-useful-and-interesting-links-for-2009-10-20/' rel='bookmark' title='Permanent Link: 5 Useful and Interesting Links for 2009-10-20'>5 Useful and Interesting Links for 2009-10-20</a></li>
<li><a href='http://awads.net/wp/2007/08/27/top-10-ways-to-know-your-software-project-is-doomed/' rel='bookmark' title='Permanent Link: Top 10 Ways to Know Your Software Project is Doomed'>Top 10 Ways to Know Your Software Project is Doomed</a></li>
<li><a href='http://awads.net/wp/2005/12/13/sql-server-2005-more-complex/' rel='bookmark' title='Permanent Link: SQL Server 2005 more complex'>SQL Server 2005 more complex</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=pVxzRdVnWeI:_627yccipL0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=pVxzRdVnWeI:_627yccipL0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=pVxzRdVnWeI:_627yccipL0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=pVxzRdVnWeI:_627yccipL0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=pVxzRdVnWeI:_627yccipL0:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=pVxzRdVnWeI:_627yccipL0:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=pVxzRdVnWeI:_627yccipL0:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=pVxzRdVnWeI:_627yccipL0:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=pVxzRdVnWeI:_627yccipL0:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=pVxzRdVnWeI:_627yccipL0:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/pVxzRdVnWeI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/07/28/6-interesting-things-you-may-have-missed-on-2010-07-28/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/07/28/6-interesting-things-you-may-have-missed-on-2010-07-28/</feedburner:origLink></item>
		<item>
		<title>7 Golden Rules That Make You a Better Programmer</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/2aDCAs-oRjY/</link>
		<comments>http://awads.net/wp/2010/06/10/7-golden-rules-that-make-you-a-better-programmer/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 20:41:44 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[pl/sql]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1682</guid>
		<description><![CDATA[Steven Feuerstein published a new presentation titled: Golden Rules for Developers [PDF]. Here is a summary of his seven &#8220;golden rules&#8221; that will help you write better code: Don&#8217;t repeat anything. Hide everything. Don&#8217;t take shortcuts. Embrace standards. Build on a foundation. Never lose information. Don&#8217;t write code alone. Agreed with all. I would also [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stevenfeuerstein.com/">Steven Feuerstein</a> published a <a href="http://feuerthoughts.blogspot.com/2010/06/new-presentation-available-for-download.html">new presentation</a> titled: <a href="http://toadworld.com/Portals/0/stevenf/Golden%20Rules%20for%20Developers.pdf">Golden Rules for Developers</a> [PDF].</p>

<p>Here is a summary of his seven &#8220;golden rules&#8221; that will help you write better code:</p>

<ol>
<li>Don&#8217;t repeat anything.</li>
<li>Hide everything.</li>
<li>Don&#8217;t take shortcuts.</li>
<li>Embrace standards.</li>
<li>Build on a foundation.</li>
<li>Never lose information.</li>
<li>Don&#8217;t write code alone.</li>
</ol>

<p>Agreed with all. I would also add an eighth one: Understand your data.</p>

<p>What would you add?</p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F06%2F10%2F7-golden-rules-that-make-you-a-better-programmer%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2006/09/05/10-programming-quotes-and-lessons-learned/' rel='bookmark' title='Permanent Link: 10 Programming Quotes and Lessons Learned'>10 Programming Quotes and Lessons Learned</a></li>
<li><a href='http://awads.net/wp/2007/03/07/rules-of-thumb-wiki/' rel='bookmark' title='Permanent Link: Rules of Thumb Wiki'>Rules of Thumb Wiki</a></li>
<li><a href='http://awads.net/wp/2006/03/01/pragmatism-in-oracle-plsql/' rel='bookmark' title='Permanent Link: PRAGMAtism in Oracle PL/SQL'>PRAGMAtism in Oracle PL/SQL</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2aDCAs-oRjY:pTXOmglD8W0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=2aDCAs-oRjY:pTXOmglD8W0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2aDCAs-oRjY:pTXOmglD8W0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=2aDCAs-oRjY:pTXOmglD8W0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2aDCAs-oRjY:pTXOmglD8W0:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2aDCAs-oRjY:pTXOmglD8W0:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2aDCAs-oRjY:pTXOmglD8W0:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=2aDCAs-oRjY:pTXOmglD8W0:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2aDCAs-oRjY:pTXOmglD8W0:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=2aDCAs-oRjY:pTXOmglD8W0:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/2aDCAs-oRjY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/06/10/7-golden-rules-that-make-you-a-better-programmer/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/06/10/7-golden-rules-that-make-you-a-better-programmer/</feedburner:origLink></item>
		<item>
		<title>Please Request a Reasonable Conversion</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/EJ91tTCuqE4/</link>
		<comments>http://awads.net/wp/2010/05/24/please-request-a-reasonable-conversion/#comments</comments>
		<pubDate>Mon, 24 May 2010 14:00:47 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1637</guid>
		<description><![CDATA[Here is something you need to be aware of when you use the EXECUTE IMMEDIATE &#8230; USING and OPEN FOR &#8230; USING statements in PL/SQL. Let&#8217;s execute this simple anonymous PL/SQL block: eddie@db11gr2&#62; DECLARE 2 l_string VARCHAR2 (4000); 3 l_rc sys_refcursor; 4 BEGIN 5 l_string := RPAD (' ', 4000); 6 OPEN l_rc FOR 'select [...]]]></description>
			<content:encoded><![CDATA[<p>Here is something you need to be aware of when you use the EXECUTE IMMEDIATE &#8230; USING and OPEN FOR &#8230; USING statements in PL/SQL.</p>

<p>Let&#8217;s execute this simple anonymous PL/SQL block:</p>

<pre><code>eddie@db11gr2&gt; DECLARE
  2    l_string VARCHAR2 (4000);
  3    l_rc sys_refcursor;
  4  BEGIN
  5    l_string := RPAD (' ', 4000);
  6    OPEN l_rc FOR 'select :1 from dual' USING l_string;
  7    EXECUTE immediate 'select :1 from user_objects where rownum = 1'
  8      INTO l_string USING l_string;
  9  END;
 10  /

PL/SQL procedure successfully completed.
</code></pre>

<p>The EXECUTE IMMEDIATE and OPEN FOR statements are used with the USING clause. USING supplies a bind argument for the SQL string. In this example the value of the bind argument is a 4,000 character string.</p>

<p>Now, let&#8217;s pass a string greater than 4,000 characters to the OPEN FOR statement:</p>

<pre><code>eddie@db11gr2&gt; DECLARE
  2    l_string VARCHAR2 (4001);
  3    l_rc sys_refcursor;
  4  BEGIN
  5    l_string := RPAD (' ', 4001);
  6    OPEN l_rc FOR 'select :1 from dual' USING l_string;
  7  END;
  8  /
DECLARE
*
ERROR at line 1:
ORA-01460: unimplemented or unreasonable conversion requested
ORA-06512: at line 6
</code></pre>

<p>Oops, got an error. Let&#8217;s also try the EXECUTE IMMEDIATE statement with a string greater than 4,000 characters:</p>

<pre><code>eddie@db11gr2&gt; DECLARE
  2    l_string VARCHAR2 (4001);
  3  BEGIN
  4    l_string := RPAD (' ', 4001);
  5    EXECUTE immediate 'select :1 from user_objects where rownum = 1'
  6      INTO l_string USING l_string;
  7  END;
  8  /
DECLARE
*
ERROR at line 1:
ORA-01460: unimplemented or unreasonable conversion requested
ORA-06512: at line 5
</code></pre>

<p>Got the same error: &#8220;ORA-01460: unimplemented or unreasonable conversion requested&#8221;.</p>

<p>How about if we pass a NULL:</p>

<pre><code>eddie@db11gr2&gt; DECLARE
  2    l_rc sys_refcursor;
  3  BEGIN
  4    OPEN l_rc FOR 'select :1 from dual' USING NULL;
  5  END;
  6  /
  OPEN l_rc FOR 'select :1 from dual' USING NULL;
                                            *
ERROR at line 4:
ORA-06550: line 4, column 45:
PLS-00457: expressions have to be of SQL types
ORA-06550: line 4, column 3:
</code></pre>

<p>In this case we get &#8220;PLS-00457: expressions have to be of SQL types&#8221;.</p>

<p>Well, there is a restriction on what values you can bind: When binding values to dynamic SQL, only SQL datatypes are supported. You can bind strings, numbers, dates, collections, LOBs, XML documents&#8230; However, you cannot bind values having a PL/SQL specific datatype such as Booleans, associative arrays and varchar2 values greater than 4000.</p>

<p>Make sure you keep the above restriction in mind when you use the EXECUTE IMMEDIATE &#8230; USING and OPEN FOR &#8230; USING statements.</p>

<p>Source and resources:</p>

<ul>
<li><a href="http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/executeimmediate_statement.htm#LNPLS01317">EXECUTE IMMEDIATE Statement</a></li>
<li><a href="http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/dynamic.htm#BHCEJIDC">Unsupported Data Type in Native Dynamic SQL</a></li>
<li><a href="http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/openfor_statement.htm#LNPLS01333">OPEN FOR Statement</a></li>
<li><a href="http://s.awads.net/bpgsMg">Discussions about the ORA-01460 error</a></li>
</ul>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F05%2F24%2Fplease-request-a-reasonable-conversion%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2005/12/06/more-on-generating-strings/' rel='bookmark' title='Permanent Link: More on Generating Strings'>More on Generating Strings</a></li>
<li><a href='http://awads.net/wp/2005/10/20/case-gotcha-in-oracle-8i/' rel='bookmark' title='Permanent Link: CASE gotcha in Oracle 8i'>CASE gotcha in Oracle 8i</a></li>
<li><a href='http://awads.net/wp/2006/08/03/heres-a-quick-way-to-get-the-line-number-in-plsql/' rel='bookmark' title='Permanent Link: Here&#8217;s a Quick Way to Get the Line Number in PL/SQL'>Here&#8217;s a Quick Way to Get the Line Number in PL/SQL</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=EJ91tTCuqE4:8a-cNveGwLI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=EJ91tTCuqE4:8a-cNveGwLI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=EJ91tTCuqE4:8a-cNveGwLI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=EJ91tTCuqE4:8a-cNveGwLI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=EJ91tTCuqE4:8a-cNveGwLI:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=EJ91tTCuqE4:8a-cNveGwLI:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=EJ91tTCuqE4:8a-cNveGwLI:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=EJ91tTCuqE4:8a-cNveGwLI:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=EJ91tTCuqE4:8a-cNveGwLI:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=EJ91tTCuqE4:8a-cNveGwLI:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/EJ91tTCuqE4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/05/24/please-request-a-reasonable-conversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/05/24/please-request-a-reasonable-conversion/</feedburner:origLink></item>
		<item>
		<title>See How Easily You Can Post to Twitter From an Oracle DB</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/SC3L--bZj2U/</link>
		<comments>http://awads.net/wp/2010/05/03/see-how-easily-you-can-post-to-twitter-from-an-oracle-db/#comments</comments>
		<pubDate>Mon, 03 May 2010 14:15:34 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[yql]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1661</guid>
		<description><![CDATA[Posting to Twitter from inside an Oracle database is not something new (OraTweet, ORA_Tweet). However, what if you could post to Twitter by simply executing a SELECT statement without using any custom PL/SQL code? Try the following in your SQL*Plus. It will ask you for your Twitter username and password and the status message that [...]]]></description>
			<content:encoded><![CDATA[<p>Posting to <a href="http://twitter.com/">Twitter</a> from inside an Oracle database is not something new (<a href="http://oratweet.com/">OraTweet</a>, <a href="http://sourceforge.net/projects/oratweet/">ORA_Tweet</a>). However, what if you could post to Twitter by simply executing a SELECT statement without using any custom PL/SQL code?</p>

<p>Try the following in your SQL*Plus. It will ask you for your Twitter username and password and the status message that you want to post:</p>

<pre><code>eddie@db11gr2&gt; set define !
eddie@db11gr2&gt; set verify off
eddie@db11gr2&gt; set sqlterminator off
eddie@db11gr2&gt; SELECT HTTPURITYPE(
  2    UriFactory.escapeUri(
  3      'http://query.yahooapis.com/v1/public/yql?q=
  4        USE "http://awads.net/yql/twitter.xml" as tw_t;
  5          INSERT INTO tw_t (status, username,password)
  6            VALUES("!status","!!username","!!password")
  7              &amp;format=json
  8              &amp;env=store://datatables.org/alltableswithkeys&amp;format=xml&amp;callback=cbfunc')).getclob()
  9    json_response
 10  FROM dual
 11  /
Enter value for status: Tweeting from SQL*Plus.
Enter value for username: sqlyql
Enter value for password: sqlyqlpw

JSON_RESPONSE
--------------------------------------------------------------------------------
cbfunc({"query":{"count":"1","created":"2010-05-02T02:02:14Z","lang":"en-US","re
sults":{"status":{"created_at":"Sun May 02 02:02:14 +0000 2010","id":"1322057475
5","text":"Tweeting from SQL*Plus.","source":"&lt;a href=\"http://apiwiki.twitter.c
om/\" rel=\"nofollow\"&gt;API&lt;/a&gt;","truncated":"false","in_reply_to_status_id":null
,"in_reply_to_user_id":null,"favorited":"false","in_reply_to_screen_name":null,"
user":{"id":"139255376","name":"sqlyql","screen_name":"sqlyql","location":null,"
description":null,"profile_image_url":"http://s.twimg.com/a/1272578449/images/de
fault_profile_1_normal.png","url":null,"protected":"false","followers_count":"1"
,"profile_background_color":"9ae4e8","profile_text_color":"000000","profile_link
_color":"0000ff","profile_sidebar_fill_color":"e0ff92","profile_sidebar_border_c
olor":"87bc44","friends_count":"0","created_at":"Sun May 02 01:59:28 +0000 2010"
,"favourites_count":"0","utc_offset":null,"time_zone":null,"profile_background_i
mage_url":"http://s.twimg.com/a/1272578449/images/themes/theme1/bg.png","profile
_background_tile":"false","notifications":"false","geo_enabled":"false","verifie
d":"false","following":"false","statuses_count":"1","lang":"en","contributors_en
abled":"false"},"geo":null,"coordinates":null,"place":null,"contributors":null}}
}});


Elapsed: 00:00:01.92
</code></pre>

<p><a href="http://twitter.com/sqlyql/status/13220574755"><img src="http://awads.net/wp/wp-content/uploads/2010/05/sqlyql.png" alt="" title="Twitter Status" width="610" height="273" class="alignnone size-full wp-image-1662" /></a></p>

<p>The above is made possible using <a href="http://awads.net/wp/2008/07/08/xml-goodness-in-sql-part-1/">HTTPURITYPE</a> and <a href="https://developer.yahoo.com/yql/">YQL</a>, the Yahoo! Query Language. Awesome combination!</p>

<p>Note that on June 30, 2010 Twitter will be <a href="http://www.countdowntooauth.com/">shutting off</a> basic authentication on the Twitter API. After that date, the above will stop working unless the YQL query is modified to use OAuth.</p>

<p>Are you on Twitter? Follow me at <a href="http://twitter.com/eddieawad">eddieawad</a> and the rest of the Oracle Tweeple at <a id="aptureLink_auQdXrzeWD" href="http://twitter.com/eddieawad/oracle">eddieawad/oracle</a>.</p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F05%2F03%2Fsee-how-easily-you-can-post-to-twitter-from-an-oracle-db%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/' rel='bookmark' title='Permanent Link: HTTP POST from inside Oracle'>HTTP POST from inside Oracle</a></li>
<li><a href='http://awads.net/wp/2007/03/04/the-oracle-community-on-twitter/' rel='bookmark' title='Permanent Link: The Oracle Community on Twitter'>The Oracle Community on Twitter</a></li>
<li><a href='http://awads.net/wp/2006/09/19/cool-undocumented-sql-function-sys_op_map_nonnull-and-some-alternatives/' rel='bookmark' title='Permanent Link: Cool Undocumented SQL Function SYS_OP_MAP_NONNULL and Some Alternatives'>Cool Undocumented SQL Function SYS_OP_MAP_NONNULL and Some Alternatives</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=SC3L--bZj2U:3HuWJYhbx9k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=SC3L--bZj2U:3HuWJYhbx9k:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=SC3L--bZj2U:3HuWJYhbx9k:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=SC3L--bZj2U:3HuWJYhbx9k:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=SC3L--bZj2U:3HuWJYhbx9k:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=SC3L--bZj2U:3HuWJYhbx9k:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=SC3L--bZj2U:3HuWJYhbx9k:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=SC3L--bZj2U:3HuWJYhbx9k:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=SC3L--bZj2U:3HuWJYhbx9k:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=SC3L--bZj2U:3HuWJYhbx9k:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/SC3L--bZj2U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/05/03/see-how-easily-you-can-post-to-twitter-from-an-oracle-db/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://awads.net/wp/wp-content/uploads/2010/05/sqlyql-150x150.png" />
		<media:content url="http://awads.net/wp/wp-content/uploads/2010/05/sqlyql.png" medium="image">
			<media:title type="html">Twitter Status</media:title>
			<media:thumbnail url="http://awads.net/wp/wp-content/uploads/2010/05/sqlyql-150x150.png" />
		</media:content>
	<feedburner:origLink>http://awads.net/wp/2010/05/03/see-how-easily-you-can-post-to-twitter-from-an-oracle-db/</feedburner:origLink></item>
		<item>
		<title>What Error</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/MBQ5wTQu07U/</link>
		<comments>http://awads.net/wp/2010/04/20/what-error/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 14:00:00 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[pl/sql]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1650</guid>
		<description><![CDATA[I have been playing the PL/SQL Challenge quiz every day. It&#8217;s a great way to brush up on my PL/SQL skills. After many years of using PL/SQL, I am still learning about features that I have never known before or totally forgotten about. Take for example one of last week&#8217;s quiz questions: What is the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been playing the <a href="http://plsqlchallenge.com">PL/SQL Challenge</a> quiz every day. It&#8217;s a great way to brush up on my PL/SQL skills. After many years of using PL/SQL, I am still learning about features that I have never known before or totally forgotten about. Take for example one of last week&#8217;s quiz questions:</p>

<p>What is the output of this PL/SQL block?</p>

<pre><code>eddie@db11gr2&gt; DECLARE
  2     aname varchar2 (5);
  3  BEGIN
  4     DECLARE
  5        aname varchar2 (5) := 'Big String';
  6     BEGIN
  7        DBMS_OUTPUT.put_line (aname);
  8     EXCEPTION
  9        WHEN VALUE_ERROR
 10        THEN
 11           DBMS_OUTPUT.put_line ('Inner block');
 12     END;
 13     DBMS_OUTPUT.put_line ('What error');
 14  EXCEPTION
 15     WHEN VALUE_ERROR
 16     THEN
 17        DBMS_OUTPUT.put_line ('Outer block');
 18  END;
 19  /
</code></pre>

<p>Instead of telling you what the answer is, I will point you to the <a href="http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/errors.htm#LNPLS844">documentation</a>:</p>

<blockquote>
  <p>In declarations, faulty initialization expressions can raise exceptions, but exception handlers cannot handle them&#8230; Handlers in the current block cannot catch the raised exception because an exception raised in a declaration propagates immediately to the enclosing block.</p>
</blockquote>

<p>Even though I selected the wrong choice when I took the quiz, adding the above fact to my PL/SQL knowledge and sharing it with you is a big win for me.</p>

<p>By the way, should we consider initializing variables in the declaration section a bad practice?</p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F04%2F20%2Fwhat-error%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2006/07/25/how-to-find-where-an-error-was-raised-in-plsql/' rel='bookmark' title='Permanent Link: How to find where an error was raised in PL/SQL'>How to find where an error was raised in PL/SQL</a></li>
<li><a href='http://awads.net/wp/2006/08/01/little-known-way-to-get-the-error-message-in-plsql/' rel='bookmark' title='Permanent Link: Little known way to get the error message in PL/SQL'>Little known way to get the error message in PL/SQL</a></li>
<li><a href='http://awads.net/wp/2006/08/03/heres-a-quick-way-to-get-the-line-number-in-plsql/' rel='bookmark' title='Permanent Link: Here&#8217;s a Quick Way to Get the Line Number in PL/SQL'>Here&#8217;s a Quick Way to Get the Line Number in PL/SQL</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=MBQ5wTQu07U:psBIWbNm_Fg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=MBQ5wTQu07U:psBIWbNm_Fg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=MBQ5wTQu07U:psBIWbNm_Fg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=MBQ5wTQu07U:psBIWbNm_Fg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=MBQ5wTQu07U:psBIWbNm_Fg:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=MBQ5wTQu07U:psBIWbNm_Fg:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=MBQ5wTQu07U:psBIWbNm_Fg:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=MBQ5wTQu07U:psBIWbNm_Fg:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=MBQ5wTQu07U:psBIWbNm_Fg:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=MBQ5wTQu07U:psBIWbNm_Fg:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/MBQ5wTQu07U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/04/20/what-error/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/04/20/what-error/</feedburner:origLink></item>
		<item>
		<title>Want to Learn Java? Hear What the Father of Java Has to Say About It</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/m4Cf1Xt40Tg/</link>
		<comments>http://awads.net/wp/2010/03/29/want-to-learn-java-hear-what-the-father-of-java-has-to-say-about-it/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 14:00:45 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1630</guid>
		<description><![CDATA[In this video, James Gosling, best known as the father of the Java programming language,  provides some wisdom about Java and software development for students. In short, Java is easy to learn especially to people who have not done software programming before. via Related articles:15 Ways Oracle Can Make Java Better (and Improve Its Stance [...]]]></description>
			<content:encoded><![CDATA[<p>In this video, <a id="aptureLink_SwmnBQ60rc" href="http://en.wikipedia.org/wiki/James%20Gosling">James Gosling</a>, best known as the father of the Java programming  language,  provides some wisdom about Java and software  development for students. In short, Java is easy to learn especially to people who have not done software programming before.</p>

<div id="aptureLink_DHpQFyPc9X" style="margin: 0pt auto; text-align: center; display: block; padding: 0px 6px;"><object id="apture_embedPlayer1" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="340" height="285" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="bgcolor" value="#ffffff" /><param name="quality" value="high" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="flashvars" value="start=0&amp;domId=apture_embedPlayer1" /><param name="src" value="http://www.youtube.com/v/r19P3y1VBiw&amp;rel=0&amp;fs=1&amp;showinfo=0&amp;iv_load_policy=3" /><param name="name" value="apture_embedPlayer1" /><param name="allowfullscreen" value="true" /><embed id="apture_embedPlayer1" type="application/x-shockwave-flash" width="340" height="285" src="http://www.youtube.com/v/r19P3y1VBiw&amp;rel=0&amp;fs=1&amp;showinfo=0&amp;iv_load_policy=3" name="apture_embedPlayer1" flashvars="start=0&amp;domId=apture_embedPlayer1" allowfullscreen="true" allowscriptaccess="always" quality="high" bgcolor="#ffffff"></embed></object></div>

<p><a href="http://www.agilejavaoop.com/java/thoughts-for-students-from-the-father-of-java/">via</a></p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F03%2F29%2Fwant-to-learn-java-hear-what-the-father-of-java-has-to-say-about-it%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2010/02/09/15-ways-oracle-can-make-java-better-and-improve-its-stance-with-developers/' rel='bookmark' title='Permanent Link: 15 Ways Oracle Can Make Java Better (and Improve Its Stance with Developers)'>15 Ways Oracle Can Make Java Better (and Improve Its Stance with Developers)</a></li>
<li><a href='http://awads.net/wp/2010/02/07/securing-java-in-oracle-pdf/' rel='bookmark' title='Permanent Link: Securing Java In Oracle [PDF]'>Securing Java In Oracle [PDF]</a></li>
<li><a href='http://awads.net/wp/2006/01/11/plsql-ranks-12th/' rel='bookmark' title='Permanent Link: PLSQL Ranks 12th'>PLSQL Ranks 12th</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=m4Cf1Xt40Tg:D2sWwx9sIJs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=m4Cf1Xt40Tg:D2sWwx9sIJs:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=m4Cf1Xt40Tg:D2sWwx9sIJs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=m4Cf1Xt40Tg:D2sWwx9sIJs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=m4Cf1Xt40Tg:D2sWwx9sIJs:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=m4Cf1Xt40Tg:D2sWwx9sIJs:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=m4Cf1Xt40Tg:D2sWwx9sIJs:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=m4Cf1Xt40Tg:D2sWwx9sIJs:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=m4Cf1Xt40Tg:D2sWwx9sIJs:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=m4Cf1Xt40Tg:D2sWwx9sIJs:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/m4Cf1Xt40Tg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/03/29/want-to-learn-java-hear-what-the-father-of-java-has-to-say-about-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/03/29/want-to-learn-java-hear-what-the-father-of-java-has-to-say-about-it/</feedburner:origLink></item>
		<item>
		<title>Are You Soft on Your Deletes?</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/ewAwhuzlytA/</link>
		<comments>http://awads.net/wp/2010/03/15/are-you-soft-on-your-deletes/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 14:00:08 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1618</guid>
		<description><![CDATA[Frustrated with soft deletes in SQL, Reeditor writes: In the past, I&#8217;ve added a deleted_at (datetime) column and appended &#8220;WHERE deleted_at IS NULL&#8221; to every query involving that table. But it&#8217;s a total pain in the ass, and it&#8217;s complicated as shit: there&#8217;s always a few queries that are missed, a few developers that forgot [...]]]></description>
			<content:encoded><![CDATA[<p><a id="aptureLink_oxufRt1eUe" style="float: right; padding: 0px 6px;" href="http://www.flickr.com/photos/ladymixy-uk/4059154289/"><img style="border: 0px none;" title="delete" src="http://static.flickr.com/2670/4059154289_5799d91e8f.jpg" alt="" width="201" height="133" /></a>Frustrated with soft deletes in SQL, Reeditor <a href="http://www.reddit.com/r/programming/comments/bdcyp/soft_deletes_in_sql/">writes</a>:</p>

<blockquote>In the past, I&#8217;ve added a deleted_at (datetime) column and appended  &#8220;WHERE deleted_at IS NULL&#8221; to every query involving that table.  But  it&#8217;s a total pain in the ass, and it&#8217;s complicated as shit: there&#8217;s always a few queries that are missed, a few developers that  forgot or didn&#8217;t know they had to check that the record wasn&#8217;t deleted,  denormalized counts are hard to keep in sync, etc. etc.  It always turns  into an embarrassing fiasco rather than something you add once and then  don&#8217;t have to worry about.</blockquote>

<p>Good <a href="http://www.reddit.com/r/programming/comments/bdcyp/soft_deletes_in_sql/">discussion</a> followed which included a couple of interesting links: <a href="http://stackoverflow.com/questions/68323/what-is-the-best-way-to-implement-soft-deletion/">What is the best way to implement soft deletion?</a> and <a href="http://richarddingwall.name/2009/11/20/the-trouble-with-soft-delete/">The trouble with soft delete</a>.</p>

<p>So, if there is a business need to retain deleted records, do you go soft or hard?</p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F03%2F15%2Fare-you-soft-on-your-deletes%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2005/11/08/insert-into-dual/' rel='bookmark' title='Permanent Link: Insert into DUAL'>Insert into DUAL</a></li>
<li><a href='http://awads.net/wp/2007/10/09/beware-of-comments-in-sql/' rel='bookmark' title='Permanent Link: Beware of Comments in SQL'>Beware of Comments in SQL</a></li>
<li><a href='http://awads.net/wp/2005/08/15/sql-plus-gotcha/' rel='bookmark' title='Permanent Link: SQL PLUS Gotcha'>SQL PLUS Gotcha</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ewAwhuzlytA:Fb7YTGFhZF0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=ewAwhuzlytA:Fb7YTGFhZF0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ewAwhuzlytA:Fb7YTGFhZF0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=ewAwhuzlytA:Fb7YTGFhZF0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ewAwhuzlytA:Fb7YTGFhZF0:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ewAwhuzlytA:Fb7YTGFhZF0:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ewAwhuzlytA:Fb7YTGFhZF0:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=ewAwhuzlytA:Fb7YTGFhZF0:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ewAwhuzlytA:Fb7YTGFhZF0:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=ewAwhuzlytA:Fb7YTGFhZF0:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/ewAwhuzlytA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/03/15/are-you-soft-on-your-deletes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://static.flickr.com/2670/4059154289_5799d91e8f.jpg" />
		<media:content url="http://static.flickr.com/2670/4059154289_5799d91e8f.jpg" medium="image">
			<media:title type="html">delete</media:title>
		</media:content>
	<feedburner:origLink>http://awads.net/wp/2010/03/15/are-you-soft-on-your-deletes/</feedburner:origLink></item>
		<item>
		<title>The Hello World Collection</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/DcrxmPbe_QI/</link>
		<comments>http://awads.net/wp/2010/03/13/the-hello-world-collection/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 02:37:18 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Interesting Stuff]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1608</guid>
		<description><![CDATA[&#8220;Hello World&#8221; is the first program one usually writes when learning a new programming language. The first Hello World program appeared in chapter 1.1 of the first edition of  The C Programming Language, in 1978. Since then, Hello World has been implemented in just about every programming language on the planet. The Hello World collection [...]]]></description>
			<content:encoded><![CDATA[<p><a id="aptureLink_cJS9QxDmht" style="float: right; padding: 0px 6px;" href="http://www.flickr.com/photos/micahdowty/2932268558/"><img style="border: 0px none;" title="Laser Hello World" src="http://static.flickr.com/3036/2932268558_df701a31d8.jpg" alt="" width="180px" height="135px" /></a>&#8220;Hello World&#8221; is the first program one usually writes when learning a new programming language. The first Hello World program appeared in chapter 1.1 of the first edition of  <a href="http://en.wikipedia.org/wiki/The_C_Programming_Language_%28book%29">The C Programming Language</a>, in 1978. Since then, Hello World has been implemented in just about every programming language on the planet.</p>

<p><a href="http://roesler-ac.de/wolfram/hello.htm">The Hello World collection</a> includes 428 Hello World programs in many more-or-less well known programming languages, plus 63 <a href="http://helloworldsite.he.funpic.de/hello.htm#Human">human</a> languages.</p>

<p>Can you name the programming language based on its Hello World syntax? Take <a href="http://www.sporcle.com/games/psychofish25/hello_world_syntax">this quiz</a> and let us know. (<a href="http://www.reddit.com/r/programming/comments/bczo5/can_you_name_the_programming_language_based_on/">via</a>)</p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F03%2F13%2Fthe-hello-world-collection%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2006/06/15/whats-so-special-about-the-world-cup/' rel='bookmark' title='Permanent Link: What&#8217;s so special about the world cup?'>What&#8217;s so special about the world cup?</a></li>
<li><a href='http://awads.net/wp/2006/11/28/do-you-have-these-symptoms/' rel='bookmark' title='Permanent Link: Do You Have These Symptoms?'>Do You Have These Symptoms?</a></li>
<li><a href='http://awads.net/wp/2007/03/14/10-things-about-computer-programming-you-may-not-agree-with/' rel='bookmark' title='Permanent Link: 10 Things About Computer Programming You May Not Agree With'>10 Things About Computer Programming You May Not Agree With</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=DcrxmPbe_QI:dX1nMnUV67s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=DcrxmPbe_QI:dX1nMnUV67s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=DcrxmPbe_QI:dX1nMnUV67s:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=DcrxmPbe_QI:dX1nMnUV67s:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=DcrxmPbe_QI:dX1nMnUV67s:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=DcrxmPbe_QI:dX1nMnUV67s:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=DcrxmPbe_QI:dX1nMnUV67s:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=DcrxmPbe_QI:dX1nMnUV67s:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=DcrxmPbe_QI:dX1nMnUV67s:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=DcrxmPbe_QI:dX1nMnUV67s:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/DcrxmPbe_QI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/03/13/the-hello-world-collection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://static.flickr.com/3036/2932268558_df701a31d8.jpg" />
		<media:content url="http://static.flickr.com/3036/2932268558_df701a31d8.jpg" medium="image">
			<media:title type="html">Laser Hello World</media:title>
		</media:content>
	<feedburner:origLink>http://awads.net/wp/2010/03/13/the-hello-world-collection/</feedburner:origLink></item>
		<item>
		<title>Database Backups in 10 Minutes (Video)</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/YQoAE_EHBTc/</link>
		<comments>http://awads.net/wp/2010/03/13/database-backups-in-10-minutes-video/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 19:00:23 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1604</guid>
		<description><![CDATA[A good overview of the most common types of database backups and how they compare to each other. Related articles:Oracle Database Architecture in Less than 10 Minutes (Video) Rewriting SQL Queries for Performance in 9 Minutes (Video) Oracle Performance Monitoring in Less than 12 Minutes (Video)]]></description>
			<content:encoded><![CDATA[<p>A good overview of the most common types of database backups and how they compare to each other.</p>

<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/LgYnJLtvlMg&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/LgYnJLtvlMg&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F03%2F13%2Fdatabase-backups-in-10-minutes-video%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2009/02/13/oracle-database-architecture-in-less-than-10-minutes-video/' rel='bookmark' title='Permanent Link: Oracle Database Architecture in Less than 10 Minutes (Video)'>Oracle Database Architecture in Less than 10 Minutes (Video)</a></li>
<li><a href='http://awads.net/wp/2009/03/03/rewriting-sql-queries-for-performance-in-9-minutes-video/' rel='bookmark' title='Permanent Link: Rewriting SQL Queries for Performance in 9 Minutes (Video)'>Rewriting SQL Queries for Performance in 9 Minutes (Video)</a></li>
<li><a href='http://awads.net/wp/2009/11/15/oracle-performance-monitoring-in-less-than-12-minutes-video/' rel='bookmark' title='Permanent Link: Oracle Performance Monitoring in Less than 12 Minutes (Video)'>Oracle Performance Monitoring in Less than 12 Minutes (Video)</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=YQoAE_EHBTc:e0sAdPTJflY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=YQoAE_EHBTc:e0sAdPTJflY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=YQoAE_EHBTc:e0sAdPTJflY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=YQoAE_EHBTc:e0sAdPTJflY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=YQoAE_EHBTc:e0sAdPTJflY:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=YQoAE_EHBTc:e0sAdPTJflY:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=YQoAE_EHBTc:e0sAdPTJflY:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=YQoAE_EHBTc:e0sAdPTJflY:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=YQoAE_EHBTc:e0sAdPTJflY:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=YQoAE_EHBTc:e0sAdPTJflY:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/YQoAE_EHBTc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/03/13/database-backups-in-10-minutes-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/03/13/database-backups-in-10-minutes-video/</feedburner:origLink></item>
		<item>
		<title>SQLSaturday Open for Registration</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/ldAJua7VuRc/</link>
		<comments>http://awads.net/wp/2010/02/28/sqlsaturday-open-for-registration/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 02:26:12 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlsaturday]]></category>

		<guid isPermaLink="false">http://awads.net/wp/2010/02/28/sqlsaturday-open-for-registration/</guid>
		<description><![CDATA[On the weekend of May 22, 2010, the Portland Development community is coming together in a way never experienced before. Using the University of Portland campus, SQLSaturday, Portland Code Camp, and Portland Bar Camp are combining and coordinating efforts to bring 800-1000 regional technology professionals together for the opportunity to immerse themselves in seminars, presentations, [...]]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'><div><p>On the weekend of May 22, 2010, the Portland Development community is coming together in a way never experienced before.</p> <p>Using the <a href="http://www.up.edu/">University of Portland</a> campus, <a href="http://sqlsaturday.com/">SQLSaturday</a>, <a href="http://portlandcodecamp.org/">Portland Code Camp</a>, and <a href="http://barcamp.org/BarCampPortland">Portland Bar Camp</a> are combining and coordinating efforts to bring 800-1000 regional technology professionals together for the opportunity to immerse themselves in seminars, presentations, group exploration, and networking. Participants will be able to engage in their preferred technology, as well as to &#39;sample&#39; other options.</p> <p></p> <p>Admittance to this event is free, all costs are covered by donations and sponsorships. Please register soon as seating is limited, and let friends and colleagues know about the event.</p> <p>&gt;&gt; Click <a href="http://www.eventbrite.com/event/571806288" target="_blank">here</a> to register.</p><p /><div><a href="http://www.sqlsaturday.com/27/eventhome.aspx">Portland SQLSaturday</a> is encouraging presentations related to interoperability of any of the SQL platforms, including T-SQL (SQL Server), PostgreSQL, MySQL, and Oracle PL/SQL. Abstracts for Platform specific sessions are also encouraged. The event is scheduled on Saturday May 22, 2010 from 8:00 AM until 10:00 PM. </div><br /><p>Most sessions will be one hour and fifteen minutes (1:15), and a few &#39;deep dive&#39; sessions will be longer (2.5 hours). The  &#39;deep dive&#39; sessions will be scheduled for 7:00 PM (after the snacks and refreshments.) Also, throughout the day, there may be opportunities for 30 minute &#39;SQL snack&#39; sessions.</p><p>&gt;&gt; Click <a href="http://www.sqlsaturday.com/27/callforspeakers.aspx">here</a> to submit your presentation abstract.</p><p>I encourage all Oracle SQL and PL/SQL enthusiasts living in the Pacific Northwest to present in and/or attend this not-to-be-missed event.<br /> </p></div>      <p style="font-size: 10px">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://eddieawad.com/sqlsaturday-open-for-registration">EddieAwad.com</a>  </p>  </div>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F02%2F28%2Fsqlsaturday-open-for-registration%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:450px; height:70px;"></iframe></div>

<p>Related articles:<ul><li><a href='http://awads.net/wp/2006/05/25/oracle-opens-registration-for-openworld-san-francisco-2006/' rel='bookmark' title='Permanent Link: Oracle Opens Registration for OpenWorld San Francisco 2006'>Oracle Opens Registration for OpenWorld San Francisco 2006</a></li>
<li><a href='http://awads.net/wp/2006/10/31/oracle-open-world-2006-download-presentations-now/' rel='bookmark' title='Permanent Link: Oracle Open World 2006 &#8211; Download Presentations Now'>Oracle Open World 2006 &#8211; Download Presentations Now</a></li>
<li><a href='http://awads.net/wp/2006/10/23/oracle-openworld-2006-registration-and-oramag-dinner-video-photos/' rel='bookmark' title='Permanent Link: Oracle OpenWorld 2006 &#8211; Registration and Oramag Dinner (Video + Photos)'>Oracle OpenWorld 2006 &#8211; Registration and Oramag Dinner (Video + Photos)</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ldAJua7VuRc:lCyquR6Ovnc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=ldAJua7VuRc:lCyquR6Ovnc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ldAJua7VuRc:lCyquR6Ovnc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=ldAJua7VuRc:lCyquR6Ovnc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ldAJua7VuRc:lCyquR6Ovnc:ACf-c_HutVc"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=ACf-c_HutVc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ldAJua7VuRc:lCyquR6Ovnc:YwkR-u9nhCs"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?d=YwkR-u9nhCs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ldAJua7VuRc:lCyquR6Ovnc:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=ldAJua7VuRc:lCyquR6Ovnc:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=ldAJua7VuRc:lCyquR6Ovnc:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=ldAJua7VuRc:lCyquR6Ovnc:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/ldAJua7VuRc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/02/28/sqlsaturday-open-for-registration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/02/28/sqlsaturday-open-for-registration/</feedburner:origLink></item>
	</channel>
</rss>
