<?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; MySQL</title>
	<atom:link href="http://www.s1dd.com/category/software/mysql/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, 30 May 2011 14:40:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<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://yarpp.org'>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 a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.s1dd.com%2F2007%2F04%2Foracle-gui-clients%2F&amp;title=Oracle%20GUI%20Clients" id="wpa2a_2"><img src="http://www.s1dd.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>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: [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>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>(&#8216;&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>(&#8216;&lt;a href=pagename.php?varid=&#8221;&#8216;, <strong>concat</strong>(varname,<strong> concat</strong>(&#8216;&#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 a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.s1dd.com%2F2007%2F04%2Fgripe-3-4-with-oracle-concat-magic-quotes%2F&amp;title=Gripe%203%2C%204%20with%20Oracle%20%26%238211%3B%20concat%20%2B%20magic%20quotes" id="wpa2a_4"><img src="http://www.s1dd.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>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>
	</channel>
</rss>

