<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>ORACLE-BASE Blog Aggregator &#187; Eddie Awad</title>
	<atom:link href="http://www.oracle-base.com/aggregator/author/eddie-awad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oracle-base.com/aggregator</link>
	<description>Blogs I follow...</description>
	<lastBuildDate>Mon, 06 Feb 2012 11:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Developer’s Toolbox</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/uDcU8drYPfI/</link>
		<comments>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/uDcU8drYPfI/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 13:00:59 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=2604</guid>
		<description><![CDATA[I had the privilege to be a guest blogger on the ODTUG blog. I wrote about Kscope and my role in putting together the Developer&#8217;s Toolbox track as well as why you should attend Kscope. Here is a short excerpt: This year’s Kscope is a special one to me. I volunteered to lead the Developer’s [...]]]></description>
			<content:encoded><![CDATA[<p>I had the privilege to be a guest blogger on the <a href="http://odtug.wordpress.com">ODTUG blog</a>. I wrote about <a href="http://kscope12.com/">Kscope</a> and my role in putting together the <a href="http://kscope12.com/component/seminar/seminarslist?topicsid=15">Developer&#8217;s Toolbox</a> track as well as why you should attend Kscope. Here is a short excerpt:</p>

<blockquote>This year’s Kscope is a special one to me. I volunteered to lead the Developer’s Toolbox track team. My task was to build a team of volunteers from the Oracle community and then together determine appropriate sub-tracks, review and rate the submitted abstracts and create a draft schedule for the track.</blockquote>

<p>Read the full blog post <a href='http://odtug.wordpress.com/2012/01/23/kscope-12-developer-toolbox/'>here</a>.</p>
<p>Related articles:<ul>
<li><a href='http://awads.net/wp/2009/06/01/the-premier-conference-for-developers-in-the-oracle-community/' rel='bookmark' title='The Premier Conference for Developers in the Oracle Community'>The Premier Conference for Developers in the Oracle Community</a></li>
<li><a href='http://awads.net/wp/2012/01/03/you-should-attend-this/' rel='bookmark' title='You Should Attend This'>You Should Attend This</a></li>
<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='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>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=uDcU8drYPfI:VU0fZWwP2LQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=uDcU8drYPfI:VU0fZWwP2LQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=uDcU8drYPfI:VU0fZWwP2LQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=uDcU8drYPfI:VU0fZWwP2LQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=uDcU8drYPfI:VU0fZWwP2LQ: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=uDcU8drYPfI:VU0fZWwP2LQ: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=uDcU8drYPfI:VU0fZWwP2LQ:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=uDcU8drYPfI:VU0fZWwP2LQ:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/uDcU8drYPfI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2012/01/31/developers-toolbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting Bug</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/yoULgc5GyPQ/</link>
		<comments>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/yoULgc5GyPQ/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 17:58:19 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=2592</guid>
		<description><![CDATA[Michael posted a comment on Martin&#8217;s blog, that I previously quoted, about a &#8220;hack&#8221; to add a comment on a default value definition. Here is an example of how it works (tested in 11.2.0.1): SQL&#062; CREATE TABLE t ( 2 x VARCHAR2 (10) DEFAULT 'Hi' -- There. This will be stored too. 3 ); Table [...]]]></description>
			<content:encoded><![CDATA[<p>Michael posted a <a href="http://mwidlake.wordpress.com/2011/11/24/lack-of-index-and-constraint-comments/#comment-2134">comment</a> on Martin&#8217;s blog, that I previously <a href="http://awads.net/wp/2012/01/24/comments-on-constraints-and-indexes-in-the-database-a-good-idea/">quoted</a>, about a &#8220;hack&#8221; to add a comment on a default value definition. Here is an example of how it works (tested in 11.2.0.1):</p>

<pre><code>  SQL&gt; CREATE TABLE t (
    2     x VARCHAR2 (10) DEFAULT 'Hi' -- There. This will be stored too.
    3  );

  Table created.
</code></pre>

<p>Notice the comment after the default value. The comment would be ignored, right? think again:</p>

<pre><code>  SQL&gt; COLUMN column_name FORMAT a14
  SQL&gt; COLUMN data_default FORMAT a40
  SQL&gt; SELECT column_name, data_default
    2    FROM user_tab_columns
    3   WHERE table_name = 'T';

  COLUMN_NAME    DATA_DEFAULT
  -------------- ----------------------------------------
  X              'Hi' -- There. This will be stored too.

  1 row selected.
</code></pre>

<p>Well, basically this is <a href="https://support.oracle.com/CSP/main/article?cmd=show&#038;type=BUG&%23038;id=8546537&%23038;productFamily=Oracle">bug 8546537</a>:</p>

<blockquote>
When trying to add a COMMENT to a table, if the &#8216;)&#8217; is on a new line, then the COMMENT is successfuly created when an error should be raised. The COMMENT also makes it to the Data Dictionary. If the &#8216;)&#8217; is on the same line, an error is raised.
</blockquote>

<p>Interesting!</p>
<p>Related articles:<ul>
<li><a href='http://awads.net/wp/2005/10/13/pre-defined-collection-types-in-oracle/' rel='bookmark' title='Pre-defined collection types in Oracle'>Pre-defined collection types in Oracle</a></li>
<li><a href='http://awads.net/wp/2005/11/29/oracle-sql-tip/' rel='bookmark' title='Oracle SQL tip'>Oracle SQL tip</a></li>
<li><a href='http://awads.net/wp/2006/01/25/savingdownloading-files-tofrom-oracle-using-coldfusion/' rel='bookmark' title='Saving/Downloading files to/from Oracle using ColdFusion'>Saving/Downloading files to/from Oracle using ColdFusion</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=yoULgc5GyPQ:aJrn4PJibgw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=yoULgc5GyPQ:aJrn4PJibgw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=yoULgc5GyPQ:aJrn4PJibgw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=yoULgc5GyPQ:aJrn4PJibgw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=yoULgc5GyPQ:aJrn4PJibgw: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=yoULgc5GyPQ:aJrn4PJibgw: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=yoULgc5GyPQ:aJrn4PJibgw:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=yoULgc5GyPQ:aJrn4PJibgw:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/yoULgc5GyPQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2012/01/24/interesting-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comments on Constraints and Indexes in the Database, a Good Idea?</title>
		<link>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/q7gYs0X0kWA/</link>
		<comments>http://feedproxy.google.com/~r/EddieAwadsFeed/~3/q7gYs0X0kWA/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 16:57:19 +0000</pubDate>
		<dc:creator>Eddie Awad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://awads.net/wp/?p=2582</guid>
		<description><![CDATA[Martin Widlake thinks so: Comments are great, you can put 4000 characters of information into the database about each table, view and column. This can be a brief description of the object, a full explanation of what a column is to hold or even a list of typical entries for a column or table. But [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mwidlake.wordpress.com/2011/11/24/lack-of-index-and-constraint-comments/">Martin Widlake</a> thinks so:</p>

<blockquote>Comments are great, you can put 4000 characters of information into the database about each table, view and column. This can be a brief description of the object, a full explanation of what a column is to hold or even a list of typical entries for a column or table.

But you can’t add a comment on indexes or constraints. Why would I want to? Well, constraints and indexes should only be there for a reason and the reason is not always obvious from either the names of the columns or the name of the constraint or index, especially where you have a naming standard that forces you to name indexes and constraints after the columns they reference.
</blockquote>

<p>He goes on to explain the advantages:</p>

<blockquote>
If I was able to add comments to constraints and indexes within the database then they would there. You move the system from one platform to the other, they are there. If for any wildly unlikely reason the central documentation lets you down, the information is always there in the database and easy to check. You may not be able to track down the original design documents but you have the database in front of you, so comments in that will persist and be very easy to find.
</blockquote>

<p>Martin raises very good points. I believe that it would be a useful feature to have in a future database version.</p>
<p>Related articles:<ul>
<li><a href='http://awads.net/wp/2005/08/15/triggers-and-constraints/' rel='bookmark' title='Triggers and Constraints'>Triggers and Constraints</a></li>
<li><a href='http://awads.net/wp/2010/02/15/oracle-database-limits-you-may-not-know-about/' rel='bookmark' title='Oracle Database Limits You May Not Know About'>Oracle Database Limits You May Not Know About</a></li>
<li><a href='http://awads.net/wp/2007/10/09/beware-of-comments-in-sql/' rel='bookmark' title='Beware of Comments in SQL'>Beware of Comments in SQL</a></li>
</ul></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=q7gYs0X0kWA:ejXY3N5etWQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=q7gYs0X0kWA:ejXY3N5etWQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=q7gYs0X0kWA:ejXY3N5etWQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=q7gYs0X0kWA:ejXY3N5etWQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/EddieAwadsFeed?a=q7gYs0X0kWA:ejXY3N5etWQ: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=q7gYs0X0kWA:ejXY3N5etWQ: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=q7gYs0X0kWA:ejXY3N5etWQ:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/EddieAwadsFeed?i=q7gYs0X0kWA:ejXY3N5etWQ:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EddieAwadsFeed/~4/q7gYs0X0kWA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://awads.net/wp/2012/01/24/comments-on-constraints-and-indexes-in-the-database-a-good-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

