<?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>Angus Thinks... &#187; SQL</title>
	<atom:link href="http://www.malcolmhardie.com/weblogs/angus/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.malcolmhardie.com/weblogs/angus</link>
	<description>SQLEditor for Mac OS X, Life and general thoughts</description>
	<lastBuildDate>Fri, 30 Jul 2010 00:32:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>SQLEditor: Compound Foreign Keys</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2009/04/09/sqleditor-compound-foreign-keys/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2009/04/09/sqleditor-compound-foreign-keys/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 17:00:37 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[SQLEditor]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[malcolmhardie-solutions]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=398</guid>
		<description><![CDATA[The newest version of SQLEditor (1.4.4b1) now has support for compound foreign keys. This is something that people have been asking about for a while now, so I&#8217;m pleased that it got included. There are some things that may need &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2009/04/09/sqleditor-compound-foreign-keys/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The newest version of SQLEditor (1.4.4b1) now has support for compound foreign keys. This is something that people have been asking about for a while now, so I&#8217;m pleased that it got included.</p>
<p>There are some things that may need to be improved, but I&#8217;m fairly happy with the first revision of this.</p>
<div id="attachment_400" class="wp-caption alignnone" style="width: 453px"><img class="size-full wp-image-400" title="SQLEditor compound foreign key" src="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2009/04/picture-1.png" alt="Diagram showing compound foreign key" width="443" height="339" /><p class="wp-caption-text">Diagram showing compound foreign key</p></div>
<p>The compound foreign key object is a new table level object that you can add from the Object menu just like a field or index. Then you drag from the foreign key to the target table. Finally you use the inspector to create pairs of columns to link together.</p>
<p>When importing from a database SQLEditor will try to create field-to-field links on foreign keys with only 1 pair of columns unless you tell it otherwise. (There is a new preference to do this)</p>
<p>Support is fairly complete, SQL parsing, database import, database export and SQL export are all available so it should work fairly well. I think the only thing it doesn&#8217;t do is auto-create indexes, so you may need to do this by hand on referenced columns (for those databases that need this)</p>
<p>There is naturally a new inspector palette to go with the table object.</p>
<div id="attachment_401" class="wp-caption alignnone" style="width: 177px"><img class="size-medium wp-image-401" title="Compound foreign key inspector" src="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2009/04/picture-2-167x300.png" alt="Compound foreign key inspector" width="167" height="300" /><p class="wp-caption-text">Compound foreign key inspector</p></div>
<p>This allows you to add pairs of columns using the + button at the bottom. Choose your columns using the little popup menus.</p>
<p>The whole thing is completely new, so please send in your thoughts to the usual address.</p>
<p><a href="http://www.malcolmhardie.com/sqleditor/releases/1.4.4b1/SQLEditor-1-4-4b1.dmg">Download SQLEditor 1.4.4b1</a></p>
<p>(or enable the &#8220;Check for beta versions&#8221; preference and then use the check for updates feature)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2009/04/09/sqleditor-compound-foreign-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLEditor 1.4b2</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2007/08/17/sqleditor-14b2/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2007/08/17/sqleditor-14b2/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 11:42:14 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[SQLEditor]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/2007/08/17/sqleditor-14b2/</guid>
		<description><![CDATA[Another day, another beta. (Kind of) SQLEditor 1.4b2 is now available, which is pretty much bug fixing against 1.4b1. There were several issues with 1.4b1 including an annoying bug that would sometimes delete foreign key connectors when you deleted an &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2007/08/17/sqleditor-14b2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Another day, another beta. (Kind of)</p>
<p>SQLEditor 1.4b2 is now available, which is pretty much bug fixing against 1.4b1.</p>
<p>There were several issues with 1.4b1 including an annoying bug that would sometimes delete foreign key connectors when you deleted an unrelated table.</p>
<p>There are some fixes for other bugs which turned up and some improvements to undo/redo, to make it more stable when you undo or redo lots of things, one after the other.</p>
<p>I&#8217;ve also moved SQLEditor to <a href="http://sparkle.andymatuschak.org/">Sparkle</a>. Sparkle replaces an update system that I wrote myself and it should offer better update support as well as a nice html based &#8216;what&#8217;s changed&#8217; window.</p>
<p>SQLEditor also now tells people that it is a beta and exactly when it will expire. It probably should always have done this, but it does it now, which is probably good.</p>
<p>There are also some minor fixes to the live source view, so that it changes with the document sql dialect and appears correctly when reopening existing documents.</p>
<p>[<a href="http://www.malcolmhardie.com/sqleditor/releases/1.4b2/SQLEditor-1-4b2.dmg">Download</a>] (3.4MB DMG File, <a href="http://www.malcolmhardie.com/sqleditor/releases/1.4b2/releasenotes.html">changelog</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2007/08/17/sqleditor-14b2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Oracle &#8211; The Solution</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2006/05/10/running-oracle-the-solution/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2006/05/10/running-oracle-the-solution/#comments</comments>
		<pubDate>Wed, 10 May 2006 06:57:15 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Parallels-workstation]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQLEditor]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=177</guid>
		<description><![CDATA[This follows on from my previous posting. Searching for an Oracle This is kind of old news now, because it&#8217;s been in use since SQLEditor 1.2 was released. However I though I would explain how I solved the problem that &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2006/05/10/running-oracle-the-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This follows on from my previous posting. <a href="http://www.malcolmhardie.com/weblogs/angus/?p=170">Searching for an Oracle</a></p>
<p>This is kind of old news now, because it&#8217;s been in use since SQLEditor 1.2 was released. However I though I would explain how I solved the problem that I was having with installing Oracle.</p>
<p>The problem was that I didn&#8217;t have a linux machine with enough memory and at the time, qemu wasn&#8217;t really fast enough to run Oracle in a virtual machine.</p>
<p>The first strategy I used was to upgrade the memory in my linux box (Cetaganda) to 512 MB. This solved the memory problem and meant that the testing could continue.</p>
<p>Then <a href="http://www.parallels.com">Parallels Workstation</a> was released, which was able to run Oracle XE in a virtual machine fast enough for regular use. It also uses a different IP address than the host machine, which is useful in itself for testing.</p>
<p>Parallels is definitely the answer to this problem, I don&#8217;t need to switch on another machine, there is no additional noise and the performance is excellent for my purposes. I&#8217;m even considering adding the loading of the VM to the unit test setup so it will load automatically before the test cycle starts.</p>
<p>I&#8217;ve also got MySQL and Postgres running inside virtual machines.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2006/05/10/running-oracle-the-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
