<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Introduction to InterBase SQL</title>
	<atom:link href="http://blogs.teamb.com/craigstuntz/2004/06/16/417/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/</link>
	<description>C# • Entity Framework • Functional Programming • MVC • Web</description>
	<pubDate>Mon, 20 May 2013 16:42:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Craig Stuntz</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-9454</link>
		<dc:creator>Craig Stuntz</dc:creator>
		<pubDate>Thu, 10 Sep 2009 14:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-9454</guid>
		<description>Mauro, I don't know much about Firebird. But Googling "Firebird" and "heterogeneous query" might turn up an answer.</description>
		<content:encoded><![CDATA[<p>Mauro, I don&#8217;t know much about Firebird. But Googling "Firebird" and "heterogeneous query" might turn up an answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauro</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-9453</link>
		<dc:creator>Mauro</dc:creator>
		<pubDate>Thu, 10 Sep 2009 13:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-9453</guid>
		<description>Hi Craig!

Is possible to retrieve records from 2 separated databases in one select query statement in firebird?

thanks,

Mauro</description>
		<content:encoded><![CDATA[<p>Hi Craig!</p>
<p>Is possible to retrieve records from 2 separated databases in one select query statement in firebird?</p>
<p>thanks,</p>
<p>Mauro</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-507</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Fri, 28 Jul 2006 10:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-507</guid>
		<description>Found my own solution. Here it is incase anyone else has the same problem.&lt;br&gt;&lt;br&gt;select tbl1.field_id &#124;&#124; '.' &#124;&#124; tbl2.field_id from tbl1, tbl2&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://bdn.borland.com/article/25523"&gt;http://bdn.borland.com/article/25523&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#124;&#124; is the concatenation operator.&lt;br&gt;&lt;br&gt;&lt;br&gt;Josh</description>
		<content:encoded><![CDATA[<p>Found my own solution. Here it is incase anyone else has the same problem.</p>
<p>select tbl1.field_id || &#8216;.&#8217; || tbl2.field_id from tbl1, tbl2</p>
<p><a rel="nofollow" target="_new" href="http://bdn.borland.com/article/25523">http://bdn.borland.com/article/25523</a></p>
<p>|| is the concatenation operator.</p>
<p>Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-506</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 27 Jul 2006 15:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-506</guid>
		<description>Is something like this possible?&lt;br&gt;&lt;br&gt;select tbl1.field_id + '.' + tbl2.field_id from tbl1, tbl2 &lt;br&gt;&lt;br&gt;this is combining two fields in each line returned, I got this to work with Microsoft SQL Server but I need to find a way to make it work with &lt;a title="Borland InterBase home page" href="http://www.borland.com/interbase" &gt;InterBase&lt;/a&gt;.&lt;br&gt;&lt;br&gt;any ideas?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Josh</description>
		<content:encoded><![CDATA[<p>Is something like this possible?</p>
<p>select tbl1.field_id + &#8216;.&#8217; + tbl2.field_id from tbl1, tbl2 </p>
<p>this is combining two fields in each line returned, I got this to work with Microsoft SQL Server but I need to find a way to make it work with <a title="Borland InterBase home page" href="http://www.borland.com/interbase" >InterBase</a>.</p>
<p>any ideas?</p>
<p>Thanks,</p>
<p>Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Stuntz</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-212</link>
		<dc:creator>Craig Stuntz</dc:creator>
		<pubDate>Mon, 26 Jun 2006 13:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-212</guid>
		<description>Look closely at the DESC part.</description>
		<content:encoded><![CDATA[<p>Look closely at the DESC part.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artesio</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-211</link>
		<dc:creator>Artesio</dc:creator>
		<pubDate>Mon, 26 Jun 2006 13:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-211</guid>
		<description>Craig,&lt;br&gt;&lt;br&gt;But that way it retruns only the first product. I need the last storage place of each product.</description>
		<content:encoded><![CDATA[<p>Craig,</p>
<p>But that way it retruns only the first product. I need the last storage place of each product.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Stuntz</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-210</link>
		<dc:creator>Craig Stuntz</dc:creator>
		<pubDate>Mon, 26 Jun 2006 13:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-210</guid>
		<description>Artesio, I already told you how:&lt;br&gt;&lt;br&gt;SELECT STORAGE_PLACE&lt;br&gt;FROM STORAGE_TABLE&lt;br&gt;ORDER BY STORAGE_DATE DESC&lt;br&gt;ROWS 1</description>
		<content:encoded><![CDATA[<p>Artesio, I already told you how:</p>
<p>SELECT STORAGE_PLACE<br />
<br />FROM STORAGE_TABLE<br />
<br />ORDER BY STORAGE_DATE DESC<br />
<br />ROWS 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artesio</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-497</link>
		<dc:creator>Artesio</dc:creator>
		<pubDate>Mon, 26 Jun 2006 13:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-497</guid>
		<description>Craig,&lt;br&gt;&lt;br&gt;My Table has 3 fields: PRODUCT_ID, STORAGE_DATE, STORAGE_PLACE. I have to retrieve the last STORAGE_PLACE, if i use MAX(STORAGE_DATE) I can't retrieve the last STORAGE_PLACE.&lt;br&gt;I hvae to retrieve the last STORAGE_PLACE of each porcuct.&lt;br&gt;&lt;br&gt;If I use  SELECT PRODUCT_ID, MAX(STORAGE_DATE) FROM STORAGE_TABLE GROUP BY PRODUCT_ID ORDER BY PRODUCT_ID but that way I can&#180;t retrieve the storage place. If I Group by storage place the query retunrs all storage places. &lt;br&gt;&lt;br&gt;Do you know how can I do it?&lt;br&gt;&lt;br&gt;Thx&lt;br&gt;&lt;br&gt;Artesio</description>
		<content:encoded><![CDATA[<p>Craig,</p>
<p>My Table has 3 fields: PRODUCT_ID, STORAGE_DATE, STORAGE_PLACE. I have to retrieve the last STORAGE_PLACE, if i use MAX(STORAGE_DATE) I can&#8217;t retrieve the last STORAGE_PLACE.<br />
<br />I hvae to retrieve the last STORAGE_PLACE of each porcuct.</p>
<p>If I use  SELECT PRODUCT_ID, MAX(STORAGE_DATE) FROM STORAGE_TABLE GROUP BY PRODUCT_ID ORDER BY PRODUCT_ID but that way I can&#180;t retrieve the storage place. If I Group by storage place the query retunrs all storage places. </p>
<p>Do you know how can I do it?</p>
<p>Thx</p>
<p>Artesio</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Stuntz</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-496</link>
		<dc:creator>Craig Stuntz</dc:creator>
		<pubDate>Mon, 26 Jun 2006 12:43:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-496</guid>
		<description>Artesio, there is no such thing. Relational databases don't have natural orders. To do what you want, either use MIN/MAX if applicable, or do an ORDER BY (whatever) DESC ROWS 1.</description>
		<content:encoded><![CDATA[<p>Artesio, there is no such thing. Relational databases don&#8217;t have natural orders. To do what you want, either use MIN/MAX if applicable, or do an ORDER BY (whatever) DESC ROWS 1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artesio</title>
		<link>http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-495</link>
		<dc:creator>Artesio</dc:creator>
		<pubDate>Mon, 26 Jun 2006 12:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/2004/06/16/417/#comment-495</guid>
		<description>Hi,&lt;br&gt;&lt;br&gt;How can I retrive the last recorcord in a SELECT  statement? In Access ther is the agragate function LAST, I didn't find a similar function in Iterbase.&lt;br&gt;&lt;br&gt;Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How can I retrive the last recorcord in a SELECT  statement? In Access ther is the agragate function LAST, I didn&#8217;t find a similar function in Iterbase.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
