<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>S1dd.com &#187; Oracle</title>
	<atom:link href="http://www.s1dd.com/category/software/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.s1dd.com</link>
	<description>My blog about everything not covered in my other blogs</description>
	<lastBuildDate>Mon, 19 Jul 2010 14:48:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Oracle GUI Clients</title>
		<link>http://www.s1dd.com/2007/04/oracle-gui-clients/</link>
		<comments>http://www.s1dd.com/2007/04/oracle-gui-clients/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 20:46:06 +0000</pubDate>
		<dc:creator>Sidd</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.s1dd.com/2007/04/24/oracle-gui-clients/</guid>
		<description><![CDATA[If you search for Oracle GUI Clients in Google, you turn up with nothing. After some more hunting, I found TOAD. I have been using the Free version of TOAD for a few weeks now but it is very annoying and has to be updated often. Also it can only make one connection at a [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a HREF="http://www.oracle.com/technology/software/products/sql/"><img STYLE="padding-right: 5px" ALIGN="left" SRC="http://www.s1dd.com/sqldeveloper.jpg" BORDER="0" /></a>If you search for <a HREF="http://www.google.com/search?client=opera&amp;rls=en&amp;q=oracle+gui+clients&amp;sourceid=opera&amp;ie=utf-8&amp;oe=utf-8">Oracle GUI Clients</a> in Google, you turn up with nothing. After some more hunting, I found TOAD. I have been using the Free version of TOAD for a few weeks now but it is very annoying and has to be updated often. Also it can only make one connection at a time. The price of the full version &gt; 800$!!<br />
That&#8217;s an outrage, especially for us MySQL folks who can get SQLYog for free (which works perfectly well in Linux with wine).</p>
<p>A few days back I installed <a HREF="http://www.ubuntu.com/">Ubuntu  7.04</a> on a new computer at work and was hunting for an Oracle client and I found <a HREF="http://tora.sourceforge.net/">TOra</a>, an open source Oracle Client. I still haven&#8217;t got it connecting to Oracle from Ubuntu and the Windows version won&#8217;t even run. Hunting for ways to make it work, I found <a HREF="http://www.oracle.com/technology/software/products/sql/">SQL Developer</a> &#8211; which is made by Oracle themselves and is free. If only Oracle would have mentioned this on the download page for InstantClient, it would have saved me a few hours of searching,  tinkering and complaining about a lack of choice in Oracle clients.</p>
<p>SQLDeveloper is a cross platform Java Oracle client and it is free and does everything that TOAD does as far as I can tell. No more TOAD for me.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.s1dd.com%2F2007%2F04%2Foracle-gui-clients%2F&amp;linkname=Oracle%20GUI%20Clients"><img src="http://www.s1dd.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.s1dd.com/2007/04/oracle-gui-clients/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gripe 3, 4 with Oracle &#8211; concat + magic quotes</title>
		<link>http://www.s1dd.com/2007/04/gripe-3-4-with-oracle-concat-magic-quotes/</link>
		<comments>http://www.s1dd.com/2007/04/gripe-3-4-with-oracle-concat-magic-quotes/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 17:41:46 +0000</pubDate>
		<dc:creator>Sidd</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.s1dd.com/2007/04/12/gripe-3-4-with-oracle-concat-magic-quotes/</guid>
		<description><![CDATA[Concat:
Most of the database queries I run at some point are used to generate HTML and rather than go through the results of the query and add HTML to it in PHP or Ruby code, I like to get this out of the query itself.
So in MySQL my queries often look like this:
select concat(&#8217;&#60;a href=pagename.php?varid=&#8221;&#8216;, [...]


Related posts:<ol><li><a href='http://www.s1dd.com/2009/10/quotes-from-blockbuster-customer-service/' rel='bookmark' title='Permanent Link: Quotes from Blockbuster Customer Service'>Quotes from Blockbuster Customer Service</a> <small>I have more than 100 &#8220;Available&#8221; movies in my queue...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Concat:</strong></p>
<p>Most of the database queries I run at some point are used to generate HTML and rather than go through the results of the query and add HTML to it in PHP or Ruby code, I like to get this out of the query itself.<br />
So in MySQL my queries often look like this:</p>
<p><em><strong>select concat</strong>(&#8217;&lt;a href=pagename.php?varid=&#8221;&#8216;, varname, &#8216;&#8221;&gt;&#8217;, varid, &#8216;&lt;/a&gt;&#8217;) as varlink, &#8230;..</em></p>
<p>However for the same result in Oracle, which only allows two items in the concat function,<br />
this turns into:</p>
<p><em><strong>select concat</strong>(&#8217;&lt;a href=pagename.php?varid=&#8221;&#8216;, <strong>concat</strong>(varname,<strong> concat</strong>(&#8217;&#8221;&gt;&#8217;, <strong>concat</strong>(varid, &#8216;&lt;/a&gt;&#8217;)))) as varlink, &#8230;..</em></p>
<p>If there are multiple such items, the query becomes extremely ugly with too many brackets to keep track of.</p>
<p><strong>Magic Quotes: </strong></p>
<p>My next complaint about Oracle is no magic quotes &#8211; string values must be in single quotes, no double quotes allowed.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.s1dd.com%2F2007%2F04%2Fgripe-3-4-with-oracle-concat-magic-quotes%2F&amp;linkname=Gripe%203%2C%204%20with%20Oracle%20%26%238211%3B%20concat%20%2B%20magic%20quotes"><img src="http://www.s1dd.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.s1dd.com/2009/10/quotes-from-blockbuster-customer-service/' rel='bookmark' title='Permanent Link: Quotes from Blockbuster Customer Service'>Quotes from Blockbuster Customer Service</a> <small>I have more than 100 &#8220;Available&#8221; movies in my queue...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.s1dd.com/2007/04/gripe-3-4-with-oracle-concat-magic-quotes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gripe 2 with Oracle &#8211; Additional Columns in Group By</title>
		<link>http://www.s1dd.com/2007/04/gripe-2-with-oracle-additional-columns-in-group-by/</link>
		<comments>http://www.s1dd.com/2007/04/gripe-2-with-oracle-additional-columns-in-group-by/#comments</comments>
		<pubDate>Mon, 02 Apr 2007 19:42:09 +0000</pubDate>
		<dc:creator>Sidd</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.s1dd.com/?p=5</guid>
		<description><![CDATA[In the MySQL world, I can do this:
select a, b, c, max(d) from e group by a
In the oracle world that results in:
ORA-00979: not a GROUP BY expression
To overcome this, you guessed it, nested queries again:
select a, b, c, d from e, (select a, max(d) as d from e group by a)  e2 where [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>In the MySQL world, I can do this:<br />
select a, b, c, max(d) from e group by a</p>
<p>In the oracle world that results in:<br />
ORA-00979: not a GROUP BY expression</p>
<p>To overcome this, you guessed it, nested queries again:<br />
select a, b, c, d from e, (select a, max(d) as d from e group by a)  e2 where e.a=e2.a and e.d=e2.d<br />
(There might be potential problems with this but that is beyond the scope of my gripe <img src='http://www.s1dd.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.s1dd.com%2F2007%2F04%2Fgripe-2-with-oracle-additional-columns-in-group-by%2F&amp;linkname=Gripe%202%20with%20Oracle%20%26%238211%3B%20Additional%20Columns%20in%20Group%20By"><img src="http://www.s1dd.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.s1dd.com/2007/04/gripe-2-with-oracle-additional-columns-in-group-by/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gripe 1 with Oracle &#8211; Pagination with queries.</title>
		<link>http://www.s1dd.com/2007/04/gripe-1-with-oracle-pagination-with-queries/</link>
		<comments>http://www.s1dd.com/2007/04/gripe-1-with-oracle-pagination-with-queries/#comments</comments>
		<pubDate>Mon, 02 Apr 2007 17:47:56 +0000</pubDate>
		<dc:creator>Sidd</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.s1dd.com/?p=4</guid>
		<description><![CDATA[Two months ago I moved to the Department of Procurement Services at the University of Virginia. Now I get to use Oracle for the first time and it is an adjustment being used to MySQL. I had high expectations from Oracle hoping my life as a Web and Database Application Developer will be easier. So far dealing with Oracle hasn&#8217;t been fun.
First order of [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><img ALIGN="left" TITLE="Oracle 10g logo" ALT="Oracle 10g logo" SRC="http://www.s1dd.com/oraclelogo.gif" />Two months ago I moved to the <a HREF="http://www.procurement.virginia.edu/main/" TITLE="Procurement Services at UVA">Department of Procurement Services</a> at the University of Virginia. Now I get to use Oracle for the first time and it is an adjustment being used to MySQL. I had high expectations from Oracle hoping my life as a Web and Database Application Developer will be easier. So far dealing with Oracle hasn&#8217;t been fun.</p>
<p>First order of business was to create pagination for some database results. Being used to the very convenient limit m,n of MySql, I set out to find the equivalent in Oracle &#8211; oops! &#8211; there is none. So I go about searching and find this -<a TITLE="Oracle Pagination" HREF="http://www.oracle.com/technology/oramag/oracle/06-sep/o56asktom.html"> On ROWNUM and Limiting Results</a> &#8211; a bunch of inconvenient ways to achieve the same result. Even Postgres has Limit n, Offset m. Come on Oracle &#8211; it is high time to implement this &#8211; three deep nesting is not nice for ordered pagination.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.s1dd.com%2F2007%2F04%2Fgripe-1-with-oracle-pagination-with-queries%2F&amp;linkname=Gripe%201%20with%20Oracle%20%26%238211%3B%20Pagination%20with%20queries."><img src="http://www.s1dd.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.s1dd.com/2007/04/gripe-1-with-oracle-pagination-with-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FP!</title>
		<link>http://www.s1dd.com/2007/04/fp/</link>
		<comments>http://www.s1dd.com/2007/04/fp/#comments</comments>
		<pubDate>Mon, 02 Apr 2007 17:31:48 +0000</pubDate>
		<dc:creator>Sidd</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.s1dd.com/?p=3</guid>
		<description><![CDATA[Welcome, I plan to use this site to blog about stuff that doesn&#8217;t really fit on other blogs I run, that are focussed on their own topics &#8211; Personal Finance and The Internet Book Database. Hopefully I will have some useful information for you which so far I have been using my website for.


No related posts.
Related [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Welcome, I plan to use this site to blog about stuff that doesn&#8217;t really fit on other blogs I run, that are focussed on their own topics &#8211; <a HREF="http://www.parchayi.com">Personal Finance</a> and <a HREF="http://www.parchayi.net/blog">The Internet Book Database</a>. Hopefully I will have some useful information for you which so far I have been using <a HREF="http://www.ibookdb.net">my website</a> for.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.s1dd.com%2F2007%2F04%2Ffp%2F&amp;linkname=FP%21"><img src="http://www.s1dd.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.s1dd.com/2007/04/fp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
