<?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>Tue, 24 Aug 2010 14:00:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</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>SQL*Plus Timers</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/dfoN17xZi3I/</link>
		<comments>http://awads.net/wp/2010/08/24/sqlplus-timers/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 14:00:44 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[sqlplus]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1707</guid>
		<description><![CDATA[SQL*Plus TIMING is a handy little utility that you can use to do a performance analysis on any commands or blocks run during a period. It is different from the SET TIMING command which is used to display timing data after each SQL command or PL/SQL block you run. Here is an example: TIMING SHOW [...]]]></description>
			<content:encoded><![CDATA[<p>SQL*Plus <a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10823/ch_twelve047.htm#SQPUG129">TIMING</a> is a handy little utility that you can use to do a performance analysis on any commands or blocks run during a period. It is different from the <a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10823/ch_twelve040.htm#SQPUG114">SET TIMING</a> command which is used to display timing data after each SQL command or PL/SQL block you run.</p>

<p>Here is an example:</p>

<p>TIMING SHOW lists the current timer&#8217;s name and timing data:</p>

<pre><code>SQL&gt; timing show
SP2-0325: no timing elements to show
</code></pre>

<p>TIMING START sets up a timer and makes t1 (or whatever timer name you like) the name of the timer:</p>

<pre><code>SQL&gt; timing start t1
SQL&gt; timing show
timing for: t1
Elapsed: 00:00:06.95
</code></pre>

<p>Another call to TIMING SHOW displays the elapsed time since the start of the timer:</p>

<pre><code>SQL&gt; timing show
timing for: t1
Elapsed: 00:00:16.01
</code></pre>

<p>You can have more than one active timer by STARTing additional timers before STOPping the first; SQL*Plus nests each new timer within the preceding one. The timer most recently STARTed becomes the current timer:</p>

<pre><code>SQL&gt; timing start t2
</code></pre>

<p>t2 is the current timer now:</p>

<pre><code>SQL&gt; timing show
timing for: t2
Elapsed: 00:00:02.25
</code></pre>

<p>TIMING STOP lists the current timer&#8217;s name and timing data, then deletes the timer. If any other timers are active, the next most recently STARTed timer becomes the current timer, in this example it&#8217;s t1:</p>

<pre><code>SQL&gt; timing stop
timing for: t2
Elapsed: 00:00:18.81
SQL&gt; timing show
timing for: t1
Elapsed: 00:01:14.18
SQL&gt; timing stop
timing for: t1
Elapsed: 00:01:22.09
SQL&gt; timing show
SP2-0325: no timing elements to show
</code></pre>

<p>TIMING with no clauses lists the number of active timers:</p>

<pre><code>SQL&gt; timing
no timing elements in use    
SQL&gt; timing start t1
SQL&gt; timing
1 timing element in use
SQL&gt; timing start t2
SQL&gt; timing
2 timing elements in use
</code></pre>

<p>CLEAR TIMING deletes all timers:</p>

<pre><code>SQL&gt; clear timing
timing for: t2
Elapsed: 00:22:38.36
timing for: t1
Elapsed: 00:22:53.96
</code></pre>

<p>Sources and Resources:</p>

<ul>
<li><a href="http://davidclement.org/tipsntrx/tnt9.1.html">SQL*Plus Timing by David Clement</a></li>
<li><a href="http://blogs.oracle.com/dominicgiles/2008/09/sql_timing_utility.html">SQL Timing utility by Dominic Giles</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%2F08%2F24%2Fsqlplus-timers%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/12/21/how-to-give-your-system-a-break-from-oracle-xe/' rel='bookmark' title='Permanent Link: How to Give Your System a Break from Oracle XE'>How to Give Your System a Break from Oracle XE</a></li>
<li><a href='http://awads.net/wp/2005/10/04/underscores-make-a-difference/' rel='bookmark' title='Permanent Link: Underscores make a difference'>Underscores make a difference</a></li>
<li><a href='http://awads.net/wp/2009/10/22/this-is-how-you-should-ask-for-help/' rel='bookmark' title='Permanent Link: This is How You Should Ask for Help'>This is How You Should Ask for Help</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=dfoN17xZi3I:A1DW1GFSiZ4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=dfoN17xZi3I:A1DW1GFSiZ4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=dfoN17xZi3I:A1DW1GFSiZ4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=dfoN17xZi3I:A1DW1GFSiZ4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=dfoN17xZi3I:A1DW1GFSiZ4: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=dfoN17xZi3I:A1DW1GFSiZ4: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=dfoN17xZi3I:A1DW1GFSiZ4:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=dfoN17xZi3I:A1DW1GFSiZ4:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=dfoN17xZi3I:A1DW1GFSiZ4:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=dfoN17xZi3I:A1DW1GFSiZ4:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/dfoN17xZi3I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/08/24/sqlplus-timers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/08/24/sqlplus-timers/</feedburner:origLink></item>
		<item>
		<title>About Oracle Press</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/-HnSFdlIGYU/</link>
		<comments>http://awads.net/wp/2010/08/23/about-oracle-press/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 14:00:03 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[book]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=1698</guid>
		<description><![CDATA[Oracle Press is a marketing label used by McGraw Hill to market its line of Oracle books – the books are not formally written by Oracle Corporation nor are they formally tech edited by Oracle Corporation, although some employees of Oracle Corporation have used McGraw Hill as a publishing company. At least for me, for [...]]]></description>
			<content:encoded><![CDATA[<p>
<blockquote>Oracle Press is a marketing label used by McGraw Hill to market its line of Oracle books – the books are not formally written by Oracle Corporation nor are they formally tech edited by Oracle Corporation, although some employees of Oracle Corporation have used McGraw Hill as a publishing company.  At least for me, for several years the “Officially Authorized Oracle Press” logo on books published by McGraw Hill seemed to be endorsement of the books by Oracle Corporation, but that is not the case.</blockquote>
</p>

<p>via <a href='http://hoopercharles.wordpress.com/2010/08/16/book-review-expert-oracle-database-architecture-oracle-database-programming-9i-10g-and-11g-techniques-and-solutions-second-edition/'> Charles Hooper&#8217;s Oracle Notes</a>.</p>
<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fawads.net%2Fwp%2F2010%2F08%2F23%2Fabout-oracle-press%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/2008/02/10/do-you-understand-this-oracle-press-release-wsj-does-not/' rel='bookmark' title='Permanent Link: Do You Understand This Oracle Press Release? WSJ Does Not'>Do You Understand This Oracle Press Release? WSJ Does Not</a></li>
<li><a href='http://awads.net/wp/2006/04/12/new-oracle-10g-book-center/' rel='bookmark' title='Permanent Link: New Oracle 10g Book Center'>New Oracle 10g Book Center</a></li>
<li><a href='http://awads.net/wp/2006/01/09/oracle-books-on-ningcom/' rel='bookmark' title='Permanent Link: Oracle Books on Ning.com'>Oracle Books on Ning.com</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=-HnSFdlIGYU:QbcKgnr5Xcw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=-HnSFdlIGYU:QbcKgnr5Xcw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=-HnSFdlIGYU:QbcKgnr5Xcw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=-HnSFdlIGYU:QbcKgnr5Xcw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=-HnSFdlIGYU:QbcKgnr5Xcw: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=-HnSFdlIGYU:QbcKgnr5Xcw: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=-HnSFdlIGYU:QbcKgnr5Xcw:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=-HnSFdlIGYU:QbcKgnr5Xcw:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=-HnSFdlIGYU:QbcKgnr5Xcw:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=-HnSFdlIGYU:QbcKgnr5Xcw:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/-HnSFdlIGYU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/08/23/about-oracle-press/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/08/23/about-oracle-press/</feedburner:origLink></item>
		<item>
		<title>5 Interesting Things You May Have Missed On This Aug 16, 2010</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/2qIVLAvC4Ww/</link>
		<comments>http://awads.net/wp/2010/08/16/5-interesting-things-you-may-have-missed-on-this-aug-16-2010/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 14:03:08 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Interesting Stuff]]></category>

		<guid isPermaLink="false">http://awads.net/wp/2010/08/16/links-for-2010-08-16/</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://Use-The-Index-Luke.com/book" title="Use The Index, Luke">Use The Index, Luke</a></div>
<div class="delicious-extended">A guide to database performance for developers</div>
</li><li>
<div class="delicious-link"><a href="http://code.google.com/p/vorax/" title="VoraX">VoraX</a></div>
<div class="delicious-extended">A simple, yet a powerful IDE for Oracle databases. Instead of reinventing the wheel, VoraX relies on the well-known SqlPLUS which is actually used to connect to the database, to execute and to get the results back. However, this interaction is hidden from the user who just uses his/her Vim environment without knowing that, behind, a SqlPLUS process does all the work.</div>
</li><li>
<div class="delicious-link"><a href="http://blog.fatalmind.com/2010/07/30/analytic-top-n-queries/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+orana+%28OraNA%29" title="Analytic Top-N Queries">Analytic Top-N Queries</a></div>
<div class="delicious-extended">Different ways to write Top-N SQL and the performance implication of each.</div>
</li><li>
<div class="delicious-link"><a href="http://www.oracle-developer.net/display.php?id=430&amp;utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+orana+%28OraNA%29" title="Working with LONG columns">Working with LONG columns</a></div>
<div class="delicious-extended">Various techniques for querying and manipulating LONG columns.</div>
</li><li>
<div class="delicious-link"><a href="http://blog.oraclecontractors.com/?p=866&amp;utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+orana+%28OraNA%29" title="Creating a Database link without adding an entry to the tnsnames.org file">Creating a Database link without adding an entry to the tnsnames.org file</a></div>
<div class="delicious-extended">Different ways to create a database link.</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%2F08%2F16%2F5-interesting-things-you-may-have-missed-on-this-aug-16-2010%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/07/28/6-interesting-things-you-may-have-missed-on-2010-07-28/' rel='bookmark' title='Permanent Link: 6 Interesting Things You May Have Missed on 2010-07-28'>6 Interesting Things You May Have Missed on 2010-07-28</a></li>
<li><a href='http://awads.net/wp/2006/07/28/links-for-2006-07-28/' rel='bookmark' title='Permanent Link: links for 2006-07-28'>links for 2006-07-28</a></li>
<li><a href='http://awads.net/wp/2005/08/11/boredom-kills/' rel='bookmark' title='Permanent Link: Boredom kills'>Boredom kills</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2qIVLAvC4Ww:E7fPMlb_eJ4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=2qIVLAvC4Ww:E7fPMlb_eJ4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2qIVLAvC4Ww:E7fPMlb_eJ4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=2qIVLAvC4Ww:E7fPMlb_eJ4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2qIVLAvC4Ww:E7fPMlb_eJ4: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=2qIVLAvC4Ww:E7fPMlb_eJ4: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=2qIVLAvC4Ww:E7fPMlb_eJ4:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=2qIVLAvC4Ww:E7fPMlb_eJ4:guobEISWfyQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=2qIVLAvC4Ww:E7fPMlb_eJ4:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=2qIVLAvC4Ww:E7fPMlb_eJ4:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/2qIVLAvC4Ww" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2010/08/16/5-interesting-things-you-may-have-missed-on-this-aug-16-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	<feedburner:origLink>http://awads.net/wp/2010/08/16/5-interesting-things-you-may-have-missed-on-this-aug-16-2010/</feedburner:origLink></item>
		<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/2010/08/16/5-interesting-things-you-may-have-missed-on-this-aug-16-2010/' rel='bookmark' title='Permanent Link: 5 Interesting Things You May Have Missed On This Aug 16, 2010'>5 Interesting Things You May Have Missed On This Aug 16, 2010</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/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>
</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>
	</channel>
</rss>
