<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Merve Olamlı</title>
	<atom:link href="http://merveolamli.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://merveolamli.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jan 2011 06:28:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='merveolamli.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Merve Olamlı</title>
		<link>http://merveolamli.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://merveolamli.wordpress.com/osd.xml" title="Merve Olamlı" />
	<atom:link rel='hub' href='http://merveolamli.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Views Not Seen in Local DB</title>
		<link>http://merveolamli.wordpress.com/2010/10/16/views-not-seen-in-local-db/</link>
		<comments>http://merveolamli.wordpress.com/2010/10/16/views-not-seen-in-local-db/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 10:31:33 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[SIEBEL]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/?p=49</guid>
		<description><![CDATA[When I logined from my thick (developer) client to local environment , I realised that some views aren’t visible. As a sample, I could not open “Workspace Projects” view in Administration-Product screen in my local db. This view is added to my responsibilities , both in Siebel Administrator (out of box one) and X which is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=49&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I logined from my thick (developer) client to local environment , I realised that some views aren’t visible. As a sample, I could not open “Workspace Projects” view in Administration-Product screen in my local db. This view is added to my responsibilities , both in Siebel Administrator (out of box one) and X which is the custom one (which is copied from Siebel Administrator and including other custom views). It could be because of the srf, so I took the srf from the server side, in which this view is visible.  But nothing changed after these controls in my local, still not visible.</p>
<p>After a search, I got some information from Oracle Support: If a user has more than one responsibility, all the responsibilities’ Local Access Check flag should be True. If  any of one has this view with Local Access as False, view gets invisible in the client side. Porblem was fixed, deleting the Siebel Administrator (out of box one, so it is read only, its Local Access flag can not be checked under Administration-Application -&gt; Views ) Responsibility under the local user. So, all the responsibilities of the user has the view with Local Access check flag is set to Y. Logoff &#8211; login again, the view is now available.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=49&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2010/10/16/views-not-seen-in-local-db/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>Unlock a Project in Local Repository</title>
		<link>http://merveolamli.wordpress.com/2009/10/22/unlock-a-project-in-local-repository/</link>
		<comments>http://merveolamli.wordpress.com/2009/10/22/unlock-a-project-in-local-repository/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 19:38:52 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[SIEBEL]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/?p=42</guid>
		<description><![CDATA[If you get a Project from the Server Repository , which is locked by another user, the Project’s “Locked” flag is checked. You can not modify the objects belonging to this locked Project. To be able to work with this Project in local repository , it should be locked by local repository user. If you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=42&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you get a Project from the Server Repository , which is locked by another user, the Project’s “Locked” flag is checked. You can not modify the objects belonging to this locked Project. To be able to work with this Project in local repository , it should be locked by local repository user. If you know the user’s password , you can login to Server Repository and unlock the Project, then get it. But, it is so risky that this user can not check in the Project from his local repository anymore. You can login to your local db and with an SQL, the lock on the Project can be removed:</p>
<p><span style="color:#800080;"><em>UPDATE SIEBEL.S_PROJECT SET LOCKED_FLG = ‘N’ WHERE NAME = &lt; PROJECT_NAME &gt;;</em></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=42&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2009/10/22/unlock-a-project-in-local-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>Symbolic String Error</title>
		<link>http://merveolamli.wordpress.com/2008/09/26/symbolic-string-error/</link>
		<comments>http://merveolamli.wordpress.com/2008/09/26/symbolic-string-error/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 03:24:11 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[SIEBEL]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/?p=36</guid>
		<description><![CDATA[When I tried to check out the Project that stores the Symbolic Strings (Project_B), I got an error meanwhile which is : [Siebel Database][ODBC Driver][Adaptive Server Anywhere] Integrity constraint violation: Index &#8216;S_SYM_STR_U1&#8242; for table &#8216;S_SYM_STR&#8217; would not be unique After clicking OK another pop up which says: Siebel-ERR- 1124: Unable to import table &#8216;S_SYM_STR&#8217; (UTLOdbcExecute [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=36&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I tried to check out the Project that stores the Symbolic Strings (Project_B), I got an error meanwhile which is :</p>
<p><em><span style="color:#800080;">[Siebel Database][ODBC Driver][Adaptive Server Anywhere] Integrity constraint violation: Index &#8216;S_SYM_STR_U1&#8242; for table &#8216;S_SYM_STR&#8217; would not be unique</span></em></p>
<p>After clicking OK another pop up which says:</p>
<p><span style="color:#800080;"><em>Siebel-ERR- 1124: Unable to import table &#8216;S_SYM_STR&#8217; (UTLOdbcExecute insert)</em></span></p>
<p>So , I could not get the project from the Server.</p>
<p>After that, I increased the log level to find out the error. I searched the log text and came up with a symbolic string named X_xxx causes the error. I searched this in my local repository and its Project was seemed Project_A. Also, I logined to the server from Siebel Tools , again searched it but its Project was Project_B. While getting the Project_B , X_xxx loses uniqueness, so Siebel Tools throws like an error. To overcome, first I got the Project_A from the server which does not contain X_xxx to crush the code in repository. Following this, I was successful to check out the Project_B.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=36&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2008/09/26/symbolic-string-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>SPOOL COMMAND</title>
		<link>http://merveolamli.wordpress.com/2007/09/12/spool-command/</link>
		<comments>http://merveolamli.wordpress.com/2007/09/12/spool-command/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 18:57:45 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/2007/09/12/spool-command/</guid>
		<description><![CDATA[‘spool … ’ command is used to send queries and their results to a file. This can be said, it is like a screen shot format of the commands to the file. You have to spool on and spool off between which executions to store. But there are two different output files when spooling in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=17&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span>‘spool … ’ command is used to send queries and their results to a file. This can be said,  it is like a screen shot format of the commands to the file. You have to spool on and spool off between which executions to store. But there are two different output files when spooling in different editors, for sqlplus command line and for pl/sql developer. After connecting to the database:</span></p>
<p class="MsoNormal"><span>* In sqlplus command line:</span></p>
<p class="MsoNormal"><span><em>SQL&gt; spool on<br />
SQL&gt; spool c:\spool_here.txt<br />
SQL&gt; select count(*) from user_objects;<br />
<span>  </span>COUNT(*)<br />
&#8212;&#8212;&#8212;-<br />
<span>       </span>71</em></span></p>
<p class="MsoNormal"><span><em>SQL&gt; spool off</em></span></p>
<p class="MsoNormal"><span>&#8211;The output in the spool_here.txt file is:</span></p>
<p class="MsoNormal"><span><font color="#800080">SQL&gt; select count(*) from user_objects;<br />
<span> </span>COUNT(*)<span>                                                                      </span><br />
&#8212;&#8212;&#8212;-<span>                                </span><span>                                      </span><br />
<span>        </span>71<span>                                                                      </span></font></span></p>
<p class="MsoNormal"><span><font color="#800080">SQL&gt; spool off</font></span></p>
<p class="MsoNormal"><span><br />
* In pl/sql developer command window:</span></p>
<p class="MsoNormal"><span> <em>SQL&gt; spool c:\spool_here.txt<br />
Started spooling to c:\spool_here.txt</em></span></p>
<p class="MsoNormal"><em><span> SQL&gt; select count(*) from user_objects;<br />
<span> </span>COUNT(*)<br />
&#8212;&#8212;&#8212;-<br />
<span>        </span>71</span></em></p>
<p class="MsoNormal"><span><em>SQL&gt; spool off<br />
Stopped spooling to c:\spool_here.txt</em></span></p>
<p class="MsoNormal"><span> &#8211;The output in the spool_here.txt file is:<br />
<span></span></span></p>
<p class="MsoNormal"><span><span>  </span><font color="#800080">COUNT(*)<br />
&#8212;&#8212;&#8212;-<br />
<span>        </span>71</font></span></p>
<p class="MsoNormal"> <span>According to this test situation, it can be said that, pl/sql developer only takes the outputs of the queries while sqlplus command window takes all the written queries and their outputs.<br />
In addition to this, you cannot see any output in the output files until ‘spool off ’ command executes.</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/merveolamli.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/merveolamli.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=17&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2007/09/12/spool-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>LOGIC QUESTION</title>
		<link>http://merveolamli.wordpress.com/2007/09/12/logic-question/</link>
		<comments>http://merveolamli.wordpress.com/2007/09/12/logic-question/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 10:05:52 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[Daily Topic]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/2007/09/12/logic-question/</guid>
		<description><![CDATA[Today, I read an advertising with a title ‘Do You Want To Work in Google ?’ and under this topic, there were many logic questions asked in its interviews. At first sight, one of them seemed to be solvable: There are four people who have to pass beyond a rope bridge at night. But they [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=16&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span>Today, I read an advertising with a title ‘Do You Want To Work in Google ?’ and under this topic, there were many logic questions asked in its interviews. At first sight, one of them seemed to be solvable:</span></p>
<p class="MsoNormal"><span><em>There are four people who have to pass beyond a rope bridge at night. But they have only one torch and its battery will be exhausted in 17 minutes. On the other hand, the bridge is not hardy to allow more than two persons to pass and also without torch. The people have different speeds. One passes in 1 minute, other one in 2 minutes, the third one in 5 minutes and the slowest one in 10 minutes. How can it be?</em></span></p>
<p class="MsoNormal"><span>This one is not hard to solve, I tried and was successful <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/merveolamli.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/merveolamli.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=16&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2007/09/12/logic-question/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>DATA INTEGRITY</title>
		<link>http://merveolamli.wordpress.com/2007/09/03/data-integrity/</link>
		<comments>http://merveolamli.wordpress.com/2007/09/03/data-integrity/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 21:25:31 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/2007/09/03/data-integrity/</guid>
		<description><![CDATA[In the applications, we want to prevent insertion, manipulation or deletion of invalid data to satisfy data integrity. So, to provide acceptable information, we have to apply some rules. Data integrity is helpful for enforcing types of rules associated with the database. For instance, validity of data, manipulation and navigation of data in the tables [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=15&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span>In the applications, we want to prevent insertion, manipulation or deletion of invalid data to satisfy <em>data integrity</em>. So, to provide acceptable information, we have to apply some rules. </span></p>
<p class="MsoNormal"><span>Data integrity is helpful for enforcing types of rules associated with the database. For instance, validity of data, manipulation and navigation of data in the tables correctly. Let’s explain the rules applied to table columns for data integrity. </span></p>
<p class="MsoNormal"><span>First one is <em>Null Rule</em>, which is defined on a single column and controls if the value in this column can contain null values while insertion or deletion. Second one is <em>Unique Column Rule</em>, it can be defined on one or more columns. It controls if the column (s) contain unique values. According to this rule, values of these columns can contain null values. The Third one is <em>Primary Key Rule</em>, that is defined as a key value on a column or set of columns. It satisfies<span>  </span>each row in the table can be uniquely defined. The difference to the Unique Column Rule is, none of the values can contain null values in Primary Key Rule. The other one is <em>Referential Integrity Rules</em> which are used frequently. The definition for this rule is the necessity of existence of a column or set of columns also in the referenced table. It controls the data manipulations on the referential values. The last one is <em>Complex Integrity Checking</em>. This is a user defined rule that checks insertion, deletion and update operations on a column or more than one columns. </span></p>
<p class="MsoNormal"><span>Oracle enforces data integrity by definitions. <em>Integrity constraints</em> and <em>triggers</em> help these rules to be applied to the database.</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/merveolamli.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/merveolamli.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=15&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2007/09/03/data-integrity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>ORACLE DATA MINING (ODM)</title>
		<link>http://merveolamli.wordpress.com/2007/08/28/oracle-data-mining-odb/</link>
		<comments>http://merveolamli.wordpress.com/2007/08/28/oracle-data-mining-odb/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 19:49:11 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/2007/08/28/oracle-data-mining-odb/</guid>
		<description><![CDATA[As a general look, data is raw information, however information is the result of processing, manipulating and organizing data which forms knowledge. Real-world applications consist of complex data. Data mining means extracting information from large data sets and databases. Market Basket Analysis is an example of data mining used in sales : If men buy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=13&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span>As a general look, <i>data</i> is raw information, however <i>information</i> is the result of processing, manipulating and organizing data which forms knowledge. Real-world applications consist of complex data.<br />
</span></p>
<p class="MsoNormal"><span><i>Data mining</i> means extracting information from large data sets and databases. <i>Market Basket Analysis</i> is an example of data mining used in sales : If men buy beer, diaper sales also increases.<br />
Data mining is embedded in Oracle database and is one of the area of data warehouse. Data is stored in tables although there are many different types of information and does not leave database while the operation taking place. Also, the number of columns you mine is not important in Oracle Data Mining (ODM).<br />
</span></p>
<p class="MsoNormal"><span>There should be a problem waiting to be solved. In addition to this, there are some basic steps for the solution. Data gathering is the first step. The next step will be to choose one of the data mining algorithms. Always remember, there is no one perfect algorithm for problems. The choice of algorithm can change according to the type of data and problem. Data should be filtered and normalized before used in algorithms.</span></p>
<p class="MsoNormal"><span><span></span><i>Humans</i> and <i>machines</i> are different from each other. Although one of them has ability to sense, identify and think , the other one behaves through what he learned. There are kinds of functions and algorithms required by Oracle Data Mining. Data mining applies machine learning concepts to data. There are two types of Data Mining functions. These learnings are generated from machine learning area. One of them is <i>supervised data mining</i> which is </span><span>direct learning, </span><span>making prediction. The second one is <i>unsupervised learning</i> which is used for descriptive uses and non-directed.<br />
The conspicuous algorithms used in data mining are Naive Bayesian, Decision Tree, Clustering (k-means) ect.</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/merveolamli.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/merveolamli.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=13&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2007/08/28/oracle-data-mining-odb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>TEMPORARY TABLES</title>
		<link>http://merveolamli.wordpress.com/2007/08/21/temporary-tables/</link>
		<comments>http://merveolamli.wordpress.com/2007/08/21/temporary-tables/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 12:58:23 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/2007/08/21/temporary-tables/</guid>
		<description><![CDATA[Oracle can hold session-private data which means data is stored for the duration of transaction or session. Two types of temporary tables can be created with “create global temporary table…” statement, transaction-specific or session-specific. These names are the data existence for the temporary tables. For transaction-specific tables, data is stored during the transaction, or for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=12&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span>Oracle can hold session-private data which means data is stored for the duration of transaction or session. Two types of temporary tables can be created with “create global temporary table…” statement, transaction-specific or session-specific. These names are the data existence for the temporary tables. For transaction-specific tables, data is stored during the transaction, or for session-specific transaction during the session. The rows are private to the session in temporary tables to modify its own data.</span></p>
<p class="MsoNormal"><span>There are lots of characteristics like permanent tables. Temporary tables can be indexed and analyzed, but indexes created on temporary tables will be temporary too. Views and triggers can be created on temporary tables. Also, export and import utilities can be used with temporary tables.</span></p>
<p class="MsoNormal"><span>In Oracle, data changes are stored in redo logs. But, for temporary tables, DML statements <span></span><span></span>&lt;insert , update, delete&gt;<span> </span>do not generate redo logs. However, temporary tables generate a minimum amount of redo. They are not stored in rollback segments.</span></p>
<p class="MsoNormal"><span>Oracle allocate temporary segments for the user needs. Data are deallocated at the end of the session or transaction.</span></p>
<p class="MsoNormal"><span>The syntax of temporary tables is “create global temporary table…” . </span></p>
<p class="MsoNormal"><span>The statement “… on commit delete rows” is used to specify that rows are only visible within the transaction.</span></p>
<p class="MsoNormal"><span>“…on commit preserve rows” is also used to specify that rows are visible for the session.</span></p>
<p class="MsoNormal"><span>A note from High Performance Tuning by Guy Harrison:</span></p>
<p class="MsoNormal"><span>“Take advantage of temporary tables when your Pl/Sql needs to store data that does not need to persist beyond the session or the transaction”. </span></p>
<p class="MsoNormal"><span>I will explain the difference between permanent tables and temporary tables with a simple example:<br />
</span></p>
<p class="MsoNormal"><span>*The first part is about permanent tables.</span></p>
<p class="MsoNormal"><span>First, we connect to the database:<br />
</span></p>
<p class="MsoNormal"><span><em>Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0<br />
Connected as hr</em><br />
</span></p>
<p class="MsoNormal"><span>Then, create a table named test with a parameter id type number:</span></p>
<p class="MsoNormal"><em><span>SQL&gt; create table test (id number);<br />
Table created</span></em></p>
<p class="MsoNormal"><span>After that, insert a row with a value of id 1:</span></p>
<p class="MsoNormal"><em><span>SQL&gt; insert into test values(1);<br />
1 row inserted</span></em></p>
<p class="MsoNormal"><span>When we show the table’s contents:</span></p>
<p class="MsoNormal"><em><span>SQL&gt; select * from test;<br />
<span></span>ID<br />
&#8212;&#8212;&#8212;-<br />
<span></span>1</span></em></p>
<p class="MsoNormal"><span>At the end of these executions, disconnect from the database:</span></p>
<p class="MsoNormal"><span><em>SQL&gt; disconnect;<br />
Not logged on</em><br />
</span></p>
<p class="MsoNormal"><span>Again we connect to the database, and show the data in our test table:</span></p>
<p class="MsoNormal"><span><em>SQL&gt; connect hr/hr;<br />
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0<br />
Connected as hr</em> </span></p>
<p class="MsoNormal"><span><em>SQL&gt; select * from test;<br />
<span></span>ID<br />
&#8212;&#8212;&#8212;-<br />
<span></span>1</em> </span></p>
<p class="MsoNormal"><span>It seems that, Oracle hold data in permanent tables until you delete the row, truncate or drop the table.</span></p>
<p class="MsoNormal"><span>*The second part of the example is about temporary tables.</span></p>
<p class="MsoNormal"><span>We drop the permanent table and create a new one that is temporary: </span></p>
<p class="MsoNormal"><em><span>SQL&gt; drop table test purge;<br />
Table dropped</span></em></p>
<p class="MsoNormal"><span>Following this, create a temporary table which hold the data during the session:</span></p>
<p class="MsoNormal"><em><span>SQL&gt; create global temporary table test (id number) on commit preserve rows;<br />
Table created</span></em></p>
<p class="MsoNormal"><em><span>SQL&gt; insert into test values (2);<br />
1 row inserted</span></em></p>
<p class="MsoNormal"><em><span>SQL&gt; select * from test;<br />
<span></span>ID<br />
&#8212;&#8212;&#8212;-<br />
<span></span>2</span></em></p>
<p class="MsoNormal"><span>Again disconnect from the database:</span></p>
<p class="MsoNormal"><em><span>SQL&gt; disconnect;<br />
Not logged on</span></em></p>
<p class="MsoNormal"><span>Connect once more:</span></p>
<p class="MsoNormal"><em><span>SQL&gt; connect hr/hr;<br />
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0<br />
Connected as hr</span></em></p>
<p class="MsoNormal"><span>Finally, as select the data from the test table, there is no data to be stored:</span></p>
<p class="MsoNormal"><span><em>SQL&gt; select * from test;<br />
<span></span>ID<br />
&#8212;&#8212;&#8212;-</em><br />
</span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span>In conclusion, temporary tables are useful in applications which you need to store data for transaction or session level.</span></p>
<p class="MsoNormal"><span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/merveolamli.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/merveolamli.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=12&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2007/08/21/temporary-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>‘DEFAULT’ CLAUSE IN ‘CREATE TABLE’ STATEMENT</title>
		<link>http://merveolamli.wordpress.com/2007/08/14/%e2%80%98default%e2%80%99-clause-in-%e2%80%98create-table%e2%80%99-statement/</link>
		<comments>http://merveolamli.wordpress.com/2007/08/14/%e2%80%98default%e2%80%99-clause-in-%e2%80%98create-table%e2%80%99-statement/#comments</comments>
		<pubDate>Tue, 14 Aug 2007 19:41:59 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/2007/08/14/%e2%80%98default%e2%80%99-clause-in-%e2%80%98create-table%e2%80%99-statement/</guid>
		<description><![CDATA[When a table will be updated or any data is inserted into the table, a default value can be used. At the beginning, the column’s value is set to value in create table statement with default clause. Also, the data type of the expression must match with the data type of the column It will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=11&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When a table will be updated or any data is inserted into the table, a default value can be used. At the beginning, the column’s value is set to value in create table statement with default clause. Also, the data type of the expression must match with the data type of the column It will be clear with a simple example.</p>
<p>First , a table named default_tbl is created without a default value in its columns:</p>
<p><em>SQL&gt; create table default_tbl (x integer, y varchar2(10));<br />
Table created</em></p>
<p>After creating the table, we insert a row, which its x column has a value 1:</p>
<p><em>SQL&gt; insert into default_tbl(x) values (1);<br />
1 row inserted</em></p>
<p>When we select the table’s data to show, x column has the value 1, but y column is null:</p>
<p><em>SQL&gt; select * from default_tbl;<br />
X                             Y<br />
&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;-<br />
1</em></p>
<p>Let’s drop our table and create again but now with a default clause for y column:</p>
<p><em>SQL&gt; drop table default_tbl purge;<br />
Table dropped</em></p>
<p><em>SQL&gt; create table default_tbl (x integer, y varchar2(10) default &#8216;y&#8217;);<br />
Table created</em></p>
<p>Once we insert a row with an x column has a value 1:</p>
<p><em>SQL&gt; insert into default_tbl(x) values (1);<br />
1 row inserted</em></p>
<p>Finally, select table clause shows that table has a row with a y column value ‘y’ which we determined in create table statement:</p>
<p><em>SQL&gt; select * from default_tbl;</em></p>
<p><em>X                         Y<br />
&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
1                         y</em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/merveolamli.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/merveolamli.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=11&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2007/08/14/%e2%80%98default%e2%80%99-clause-in-%e2%80%98create-table%e2%80%99-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
		<item>
		<title>HEAP ORGANIZED TABLES – OBJECT TABLES</title>
		<link>http://merveolamli.wordpress.com/2007/08/13/heap-organized-tables-%e2%80%93-object-tables/</link>
		<comments>http://merveolamli.wordpress.com/2007/08/13/heap-organized-tables-%e2%80%93-object-tables/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 20:44:04 +0000</pubDate>
		<dc:creator>merveolamli</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://merveolamli.wordpress.com/2007/08/13/heap-organized-tables-%e2%80%93-object-tables/</guid>
		<description><![CDATA[In Oracle, tables are the basic storage units. There are several types of database tables. While designing an application in the database, you should use the appropriate table type to store data for necessities. Each type of table has different characteristics to be used in different applications. Heap Organized Table: The default table type in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=9&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Oracle, tables are the basic storage units. There are several types of database tables. While designing an application in the database, you should use the appropriate table type to store data for necessities. Each type of table has different characteristics to be used in different applications.</p>
<p>Heap Organized Table:</p>
<p>The default table type in Oracle is heap table. If you use “create table” clause normally, you create a standard database table. Exp:</p>
<p><em>SQL&gt; create table test (id integer);<br />
Table created</em></p>
<p>If you want to create another type of table, it should be denoted in create table statement.<br />
“Heap” name comes from its heap-like management. When data is added to the table, the first free space that data can fit is used. As data is removed from table, insert and update statements can use this freed spaces.</p>
<p>Object Table:</p>
<p>This type of table is created based on an object type, not collection of columns. It is generally used in special cases. The logic depends on object-oriented programming. “create table ” statement for object tables is:</p>
<p>create table test of x_type;</p>
<p>An example from Thomas Kyte-Expert one-on-one book :</p>
<p><em>SQL&gt; create or replace type address_type<br />
2 as object<br />
3 ( city varchar2(30),<br />
4 street varchar2(30),<br />
5 add_state varchar2(2),<br />
6 zip number<br />
7 )<br />
8 /<br />
Type created</em></p>
<p><em>SQL&gt; create or replace type person_type<br />
2 as object<br />
3 ( name varchar2(30),<br />
4 dob date,<br />
5 home_address address_type,<br />
6 work_address address_type<br />
7 )<br />
8 /<br />
Type created</em></p>
<p><em>SQL&gt; create table people of person_type<br />
2 /<br />
Table created</em></p>
<p><em>SQL&gt; desc people;</em></p>
<p><em>Name Type Nullable Default Comments<br />
&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8211; &#8212;&#8212;- &#8212;&#8212;&#8211;<br />
NAME VARCHAR2(30) Y<br />
DOB DATE Y<br />
HOME_ADDRESS ADDRESS_TYPE Y<br />
WORK_ADDRESS ADDRESS_TYPE Y</em></p>
<p>As you can see from the example, two objects are created. One of them is address_type and the other one is person_type. After that, a table named people is created based on these objects. This table has type person_type, also pay attention to the person_type object. It includes two attributes which has types address_type. The table people has four columns , two of them are object types.</p>
<p>Like in C structure types, C++ or Java class types , Object types are good structures for representing objects to use in the tables, instead of specifying the columns of the object again.<br />
But according to heap tables, object tables allocates more spaces.</p>
<p>Remember that, there is no one truth. Performance depends on the application.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/merveolamli.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/merveolamli.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merveolamli.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merveolamli.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merveolamli.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merveolamli.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/merveolamli.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/merveolamli.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/merveolamli.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/merveolamli.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merveolamli.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merveolamli.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merveolamli.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merveolamli.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merveolamli.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merveolamli.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merveolamli.wordpress.com&amp;blog=1328140&amp;post=9&amp;subd=merveolamli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://merveolamli.wordpress.com/2007/08/13/heap-organized-tables-%e2%80%93-object-tables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc2cf1b91e5cb7666f75aa87f599ce6c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merveolamli</media:title>
		</media:content>
	</item>
	</channel>
</rss>
