<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Technology Saints</title>
	<atom:link href="http://blog.techsaints.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.techsaints.com</link>
	<description>Everything good about technology.</description>
	<lastBuildDate>Tue, 12 Aug 2008 03:00:03 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/54ef9e3a43754c1e3ce88f67a2cb0ed8?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Technology Saints</title>
		<link>http://blog.techsaints.com</link>
	</image>
			<item>
		<title>Creating Constraints in Oracle</title>
		<link>http://blog.techsaints.com/2008/08/11/creating-constraints-in-oracle/</link>
		<comments>http://blog.techsaints.com/2008/08/11/creating-constraints-in-oracle/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 03:00:03 +0000</pubDate>
		<dc:creator>Joey</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[constraints]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=215</guid>
		<description><![CDATA[Constraints define conditions about a database that must remain true. They are used to ensure data integrity. Commonly used constraints are primary key constraints, foreign key constraints, and unique constraints. Constraints are also used to enforce non-null column values.
A constraint is typically defined as part of the table definition as is created using something similar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=215&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Constraints define conditions about a database that must remain true. They are used to ensure data integrity. Commonly used constraints are primary key constraints, foreign key constraints, and unique constraints. Constraints are also used to enforce non-null column values.</p>
<p>A constraint is typically defined as part of the table definition as is created using something similar to the following syntax:</p>
<p><strong> CREATE TABLE ORDERS (<br />
      ORDER_ID NUMBER(7) NOT NULL,<br />
      PRODUCT_ID NUMBER(7) NOT NULL,<br />
      PRODUCT_NAME VARCHAR2(100) NOT NULL,<br />
      CONSTRAINT ORDER_ID_PK<br />
        PRIMARY KEY(ORDER_ID),<br />
      CONSTRAINT PRODUCTS_PRODUCT_ID_FK<br />
        FOREIGN KEY(PRODUCT_ID)<br />
        REFERENCES PRODUCTS(PRODUCT_ID)<br />
)</strong><br />
The preceding table definition creates two constraints: one for the primary key on the ORDER_ID column; and one for the PRODUCT_ID column foreign key.</p>
<p>Constraints can also be created on a table using the ALTER TABLE syntax, as follows:</p>
<p><strong>ALTER TABLE ORDERS<br />
ADD CONSTRAINT PRODUCTS_PRODUCT_ID_FK<br />
FOREIGN KEY(PRODUCT_ID)<br />
        REFERENCES PRODUCTS(PRODUCT_ID)</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/215/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/215/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=215&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/08/11/creating-constraints-in-oracle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de25a0a957ccd997c68d58d7a6fbd5fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dumars4</media:title>
		</media:content>
	</item>
		<item>
		<title>ColdFusion: variables, scopes and their ordering</title>
		<link>http://blog.techsaints.com/2008/08/09/coldfusion-variables-scopes-and-their-ordering/</link>
		<comments>http://blog.techsaints.com/2008/08/09/coldfusion-variables-scopes-and-their-ordering/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 08:42:04 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[cf]]></category>
		<category><![CDATA[scopes]]></category>
		<category><![CDATA[search order]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=211</guid>
		<description><![CDATA[In ColdFusion, it is generally a good idea to prefix your variables.
Why?  Performance and Ambiguity.
Performance
If you set a variable and then tried to output it:
&#60;cfset myvariable = &#8220;my value&#8221;&#62;
&#60;cfoutput&#62;#myvariable#&#60;/cfoutput&#62;
ColdFusion will look into each scope until it finds the variable.
ColdFusion searches for variables without a scope the following order:

Query result (in a &#60;cfoutput&#62; loop)
Arguments (within a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=211&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In ColdFusion, it is generally a good idea to prefix your variables.</p>
<p>Why?  Performance and Ambiguity.</p>
<p><strong>Performance</strong></p>
<p>If you set a variable and then tried to output it:</p>
<p>&lt;cfset myvariable = &#8220;my value&#8221;&gt;<br />
&lt;cfoutput&gt;#myvariable#&lt;/cfoutput&gt;</p>
<p>ColdFusion will look into each scope until it finds the variable.</p>
<p>ColdFusion searches for variables without a scope the following order:</p>
<ol>
<li>Query result (in a &lt;cfoutput&gt; loop)</li>
<li>Arguments (within a function or CFC)</li>
<li>variables (local)</li>
<li>CGI</li>
<li>URL</li>
<li>FORM</li>
<li>COOKIE</li>
<li>CLIENT</li>
</ol>
<p><strong>Ambiguity</strong></p>
<p>If you set a variable the following way and output:</p>
<p>&lt;cfset myvariable = &#8220;local variables scope&#8221;&gt;<br />
&lt;cfcookie name=&#8221;myvariable&#8221; value=&#8221;cookie scope&#8221;&gt;<br />
&lt;cfoutput&gt;#myvariable#&lt;/cfoutput&gt;</p>
<p>The result would be: &#8220;local variables scope&#8221;</p>
<p>This is because ColdFusion searched the scopes in order until it reached the local variables scope.</p>
<p>Both variables still exist and are accessible by using the scope prefix.</p>
<p>&lt;cfoutput&gt;<br />
#variables.myvariable#&lt;br /&gt;<br />
#cookie.myvariable#<br />
&lt;/cfoutput&gt;</p>
<p>The result would be:</p>
<p>local variables scope<br />
cookie scope</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/211/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/211/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=211&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/08/09/coldfusion-variables-scopes-and-their-ordering/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04cf41bd7114cbfbf9f4372cde16825e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Bryan</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP: How To Concatenate Strings</title>
		<link>http://blog.techsaints.com/2008/08/06/php-how-to-concatenate-strings/</link>
		<comments>http://blog.techsaints.com/2008/08/06/php-how-to-concatenate-strings/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 05:25:38 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[combining]]></category>
		<category><![CDATA[concat]]></category>
		<category><![CDATA[concatenate]]></category>
		<category><![CDATA[concatenating]]></category>
		<category><![CDATA[strings]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=156</guid>
		<description><![CDATA[In PHP, the operator to concatenate or combine strings together is: . (dot)
Here are some examples of usage when concatenating strings:
&#60;?php
$string1 = &#8216;tech&#8217;;
$string2 = &#8217;saints&#8217;;
$string3 = &#8216;.com&#8217;;
$full = $string1.$string2.$string3;
echo $full;
?&#62;
Result: techsaints.com
&#60;?php
$string = &#8216;techsai&#8217;;
$string .= &#8216;nts&#8217;;
$string .= &#8216;.com&#8217;;
echo $str;
?&#62;
Result: techsaints.com
&#60;?php
$num = 123;
$string = $num.&#8217; is a number&#8217;;
echo $string;
?&#62;
Result: 123 is a number
When concatenating a number and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=156&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In PHP, the operator to concatenate or combine strings together is: . (dot)</p>
<p>Here are some examples of usage when concatenating strings:</p>
<p>&lt;?php</p>
<p>$string1 = &#8216;tech&#8217;;<br />
$string2 = &#8217;saints&#8217;;<br />
$string3 = &#8216;.com&#8217;;</p>
<p>$full = $string1.$string2.$string3;</p>
<p>echo $full;</p>
<p>?&gt;</p>
<p>Result: techsaints.com</p>
<p>&lt;?php</p>
<p>$string = &#8216;techsai&#8217;;<br />
$string .= &#8216;nts&#8217;;<br />
$string .= &#8216;.com&#8217;;</p>
<p>echo $str;</p>
<p>?&gt;</p>
<p>Result: techsaints.com</p>
<p>&lt;?php</p>
<p>$num = 123;</p>
<p>$string = $num.&#8217; is a number&#8217;;</p>
<p>echo $string;</p>
<p>?&gt;</p>
<p>Result: 123 is a number</p>
<p>When concatenating a number and a string, the string is automatically cast as a string.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/156/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/156/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=156&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/08/06/php-how-to-concatenate-strings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04cf41bd7114cbfbf9f4372cde16825e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Bryan</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle varchar2 Data Type</title>
		<link>http://blog.techsaints.com/2008/08/05/oracle-varchar2-data-type/</link>
		<comments>http://blog.techsaints.com/2008/08/05/oracle-varchar2-data-type/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 14:16:20 +0000</pubDate>
		<dc:creator>Joey</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[pl/sql]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=207</guid>
		<description><![CDATA[

The Oracle varchar2 data type allows for the storage of up to 4000 bytes of character data. It can be defined for a column as follows:

MyColumn varchar2(100) DEFAULT &#8216;MyString&#8217; NOT NULL;
Note that the varchar data type is now deprecated in Oracle as it&#8217;s usage has become a synonym for varchar2, although this may change in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=207&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal">
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"></span></span></p>
<p><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The Oracle varchar2 data type allows for the storage of up to 4000 bytes of character data. It can be defined for a column as follows:</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"></span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">MyColumn varchar2(100) DEFAULT &#8216;MyString&#8217; NOT NULL;</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">Note that the varchar data type is now deprecated in Oracle as it&#8217;s usage has become a synonym for varchar2, although this may change in future versions.</span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/207/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/207/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=207&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/08/05/oracle-varchar2-data-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de25a0a957ccd997c68d58d7a6fbd5fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dumars4</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle SET DEFINE OFF</title>
		<link>http://blog.techsaints.com/2008/07/31/oracle-set-define-off/</link>
		<comments>http://blog.techsaints.com/2008/07/31/oracle-set-define-off/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 03:44:01 +0000</pubDate>
		<dc:creator>Joey</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[techsaints]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=202</guid>
		<description><![CDATA[The SET DEFINE OFF command in Oracle prevents Oracle from doing any variable substitution.
Use the SET DEFINE OFF command in Oracle to prevent Oracle from interpreting the ampersand for variable substitution.
The SET DEFINE ON command turns variable substitution back on.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=202&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The SET DEFINE OFF command in Oracle prevents Oracle from doing any variable substitution.</p>
<p>Use the SET DEFINE OFF command in Oracle to prevent Oracle from interpreting the ampersand for variable substitution.</p>
<p>The SET DEFINE ON command turns variable substitution back on.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/202/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/202/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=202&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/07/31/oracle-set-define-off/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de25a0a957ccd997c68d58d7a6fbd5fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dumars4</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle DUAL Table</title>
		<link>http://blog.techsaints.com/2008/07/30/oracle-dual-table/</link>
		<comments>http://blog.techsaints.com/2008/07/30/oracle-dual-table/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 15:55:59 +0000</pubDate>
		<dc:creator>Joey</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[dual]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=200</guid>
		<description><![CDATA[
The Oracle DUAL table is a table created by Oracle and is used for selects statements that do not have a table name to go along with them.
For example, the DUAL table can be used to select pseudo columns, such as getting the currval or nextval from an Oracle sequence.
SELECT myseq.nextval FROM DUAL;
The DUAL table [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=200&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="Section1">
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The Oracle DUAL table is a table created by Oracle and is used for selects statements that do not have a table name to go along with them.</p>
<p></span></span><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">For example, the DUAL table can be used to select pseudo columns, such as getting the currval or nextval from an Oracle sequence.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">SELECT myseq.nextval FROM DUAL;</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The DUAL table has one column, named &#8220;DUMMY,&#8221; which is a VARCHAR2 datatype of length 1. The value of the record is &#8220;X.&#8221; </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">All Oracle users have access to the DUAL table, although it is owned by &#8220;SYS.&#8221;</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The DUAL table should not be updated, altered, or deleted.</span></span></p>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/200/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/200/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=200&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/07/30/oracle-dual-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de25a0a957ccd997c68d58d7a6fbd5fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dumars4</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Oracle Tablespaces</title>
		<link>http://blog.techsaints.com/2008/07/28/creating-oracle-tablespaces/</link>
		<comments>http://blog.techsaints.com/2008/07/28/creating-oracle-tablespaces/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 05:06:51 +0000</pubDate>
		<dc:creator>Joey</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[tablespaces]]></category>
		<category><![CDATA[techsaints]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=196</guid>
		<description><![CDATA[The following syntax demonstrates how to create an Oracle tablespace:

CREATE TABLESPACE myTablespace
DATAFILE ‘/oracle/ts_mytablespace.dbf’
SIZE 100m
AUTOEXTEND on
NEXT 10m
MAXSIZE 500m;
The size of this tablespace is defined as 100 megabytes. By having the AUTOEXTEND attribute set to &#8220;on,&#8221; the statement is specifying that if the tablespace size exceeds 100 megabytes, more space will be allocated for the tablespace. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=196&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The following syntax demonstrates how to create an Oracle tablespace:</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"><strong>CREATE TABLESPACE myTablespace<br />
</strong></span></span><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"><strong>DATAFILE ‘/oracle/ts_mytablespace.dbf’<br />
</strong></span></span><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"><strong>SIZE 100m<br />
</strong></span></span><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"><strong>AUTOEXTEND on<br />
</strong></span></span><strong><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">NEXT 10m<br />
</span></span><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">MAXSIZE 500m;</span></span></strong></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The size of this tablespace is defined as 100 megabytes. By having the AUTOEXTEND attribute set to &#8220;on,&#8221; the statement is specifying that if the tablespace size exceeds 100 megabytes, more space will be allocated for the tablespace. The amount of space by which to extend the tablespace is specified by the &#8220;NEXT&#8221; attribute, which in this example is 10 megabytes. The tablespace will continue to grow until it reaches the maximum allowable size, which is determined by the &#8220;MAXSIZE&#8221; attribute &#8211; 500 megabytes.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">Note: In order to create an Oracle tablespace, you must have the CREATE TABLESPACE privilege.</span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/196/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/196/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=196&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/07/28/creating-oracle-tablespaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de25a0a957ccd997c68d58d7a6fbd5fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dumars4</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Tablespaces</title>
		<link>http://blog.techsaints.com/2008/07/26/oracle-tablespaces/</link>
		<comments>http://blog.techsaints.com/2008/07/26/oracle-tablespaces/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 15:34:46 +0000</pubDate>
		<dc:creator>Joey</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[data files]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[tablespaces]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=194</guid>
		<description><![CDATA[A tablespace is the Oracle way of referring to a database file. A tablespace is a file set up to contain tables and is the primary logical storage structure for Oracle databases. Logical storage means the tablespace itself cannot be seen in the file system of the database server. The tablespace relates database objects to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=194&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A tablespace is the Oracle way of referring to a database file. A tablespace is a file set up to contain tables and is the primary logical storage structure for Oracle databases. Logical storage means the tablespace itself cannot be seen in the file system of the database server. The tablespace relates database objects to particular data files. Data files are physically located in the file system of the server.</p>
<p>An Oracle tablespace keeps information about various aspects of tables, including:</p>
<ul>
<li> Data types of columns</li>
<li> Maximum length of data that is permissible in columns</li>
</ul>
<p>Various types of tablespaces can exist in Oracle. A quite limited description of a few of these are:</p>
<p><strong>Permanent tablespaces, such as the SYSTEM tablespace</strong></p>
<ul>
<li>This is where Oracle&#8217;s data dictionary resides. If this table space gets deleted, your database will be gone.</li>
<li>The SYSTEM tablespace is created by Oracle at the time the database is created.</li>
<li>The SYSTEM tablespace stores the various units that comprise Oracle programs, such as packages, procedures, functions, and triggers.</li>
</ul>
<p><strong>Temporary tablespaces</strong></p>
<ul>
<li>These are used primary for sort operations.</li>
<li>Cannot contain permanent objects.</li>
</ul>
<p><strong>Undo tablespaces</strong></p>
<ul>
<li>Stores records of transaction data before it is committed to the database.</li>
<li>By creating an Undo tablespace, a DBA can control how long to keep rollback data.</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/194/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/194/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=194&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/07/26/oracle-tablespaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de25a0a957ccd997c68d58d7a6fbd5fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dumars4</media:title>
		</media:content>
	</item>
		<item>
		<title>The Oracle CLOB data type</title>
		<link>http://blog.techsaints.com/2008/07/23/the-oracle-clob-data-type/</link>
		<comments>http://blog.techsaints.com/2008/07/23/the-oracle-clob-data-type/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 14:10:27 +0000</pubDate>
		<dc:creator>Joey</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[clob]]></category>
		<category><![CDATA[data types]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=192</guid>
		<description><![CDATA[When a large amount of alphanumeric data needs to be stored in one record, the CLOB data type should be used.

CLOB stands for &#8220;Character Large Object.&#8221; The CLOB data type allows for the storage of up to 4GB of data. It&#8217;s basically the same as the VARCHAR2 data type, with the exception that it allows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=192&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">When a large amount of alphanumeric data needs to be stored in one record, the CLOB data type should be used.<br />
</span></span><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"><br />
CLOB stands for &#8220;Character Large Object.&#8221; The CLOB data type allows for the storage of up to 4GB of data. It&#8217;s basically the same as the VARCHAR2 data type, with the exception that it allows for the storage of much longer strings of data.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"></span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">Note that the CLOB data type stores only alphanumeric data. If it is necessary to store other types of data, such as sound or video, the BLOB data type should be used.</span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/192/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/192/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=192&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/07/23/the-oracle-clob-data-type/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de25a0a957ccd997c68d58d7a6fbd5fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dumars4</media:title>
		</media:content>
	</item>
		<item>
		<title>List All Stored Procedures in MySQL</title>
		<link>http://blog.techsaints.com/2008/07/22/list-all-stored-procedures-in-mysql/</link>
		<comments>http://blog.techsaints.com/2008/07/22/list-all-stored-procedures-in-mysql/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 02:29:34 +0000</pubDate>
		<dc:creator>Joey</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[procedures]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[stored procedures]]></category>

		<guid isPermaLink="false">http://techsaints.wordpress.com/?p=190</guid>
		<description><![CDATA[To list all stored procedures in MySQL, simply execute the following command:
SHOW PROCEDURE STATUS;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=190&subd=techsaints&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To list all stored procedures in MySQL, simply execute the following command:</p>
<p>SHOW PROCEDURE STATUS;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techsaints.wordpress.com/190/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techsaints.wordpress.com/190/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techsaints.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techsaints.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techsaints.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techsaints.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techsaints.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techsaints.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techsaints.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techsaints.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techsaints.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techsaints.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.techsaints.com&blog=1992019&post=190&subd=techsaints&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.techsaints.com/2008/07/22/list-all-stored-procedures-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de25a0a957ccd997c68d58d7a6fbd5fc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dumars4</media:title>
		</media:content>
	</item>
	</channel>
</rss>