<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>SQL Mailing List RSS Feed</title> 
<link>http://www.houseoffusion.com/groups/sql</link> 
<description>Discussion, questions and answers about the SQL language and its use with ColdFusion. Covers all servers from MYSQL to MSSQL to Oracle.</description> 
<language>en-us</language> 
<copyright>Copyright &#169; 2011, House of Fusion</copyright> 
<lastBuildDate>Fri, 25 May 2012 03:19:50 GMT</lastBuildDate> 
<webMaster>Michael Dinowitz (mdinowit@houseoffusion.com)</webMaster> 
<category>Mailing List</category>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>

<item>
	<title><![CDATA[strange where clause]]></title> 
	<description><![CDATA[PL-SQL.....Oracle....outer join ;-)<br>
	<br>
	On Wed, 2012-05-09 at 10:20 -0400, Michael Dinowitz wrote:<br>
	<br>
	&gt; I'm looking at someones query and it has a where clause that looks like this:<br>
	&gt; <br>
	&gt; Where Person.per_id (+)= EMail_Recipient.per_id<br>
	&gt; <br>
	&gt; what is that<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3448"  title="SQL: strange where clause">more</A>]]]></description> 
	<pubDate>Wed, 09 May 2012 11:28:00 GMT</pubDate> 
	<dc:author>Bryan Stevenson </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3448</guid> 
</item>

<item>
	<title><![CDATA[strange where clause]]></title> 
	<description><![CDATA[Looks a bit like the old SQL join syntax:<br>
	<br>
	Select *<br>
	From table1,table2<br>
	Where field1(+) = field2<br>
	<br>
	The + indicates an outer join.&nbsp;&nbsp;<br>
	<br>
	Here's a link describing the two:<br>
	<br>
	<A HREF="http://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:">http://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:</A><BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3447"  title="SQL: strange where clause">more</A>]]]></description> 
	<pubDate>Wed, 09 May 2012 10:46:00 GMT</pubDate> 
	<dc:author>Phillips, Dave</dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3447</guid> 
</item>

<item>
	<title><![CDATA[strange where clause]]></title> 
	<description><![CDATA[I'm looking at someones query and it has a where clause that looks like this:<br>
	<br>
	Where Person.per_id (+)= EMail_Recipient.per_id<br>
	<br>
	what is that (+)=? The MSSQL management studio dies on it.<br>
	<br>
	Thanks<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3446"  title="SQL: strange where clause">more</A>]]]></description> 
	<pubDate>Wed, 09 May 2012 10:20:00 GMT</pubDate> 
	<dc:author>Michael Dinowitz </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3446</guid> 
</item>



<item>
	<title><![CDATA[The Flex Authority Volume 1, Issue 2 is out now]]></title> 
	<description><![CDATA[If you want your Flex skills to be up-to-date then you need the Flex Authority. The current issue is all about Components: The Building Blocks of Your Applications.
	
	Order now]]></description> 
	<guid>http://www.flex-authority.com/issues/components-application-building-blocks/</guid>
	<pubDate>Fri, 25 May 2012 03:19:50 GMT</pubDate> 
	<dc:author>Flex Authority</dc:author> 
</item>

<item>
	<title><![CDATA[TS6079: ColdFusion Developers - Great Opportunity - long term Contract]]></title> 
	<description><![CDATA[TS6079: ColdFusion Developers - Great Opportunity - long term Contract<br>
	<br>
	Please contact lina@tansoncorp.com for more info.<br>
	<br>
	Job Title: Coldfusion Developers<br>
	Job Location: Rochester, MN<br>
	Job Duration: long term (Contract)<br>
	Pay Range: Open<br>
	<br>
	Job <BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3445"  title="SQL: TS6079: ColdFusion Developers - Great Opportunity - long term Contract">more</A>]]]></description> 
	<pubDate>Thu, 05 Apr 2012 11:59:00 GMT</pubDate> 
	<dc:author>Lina Danes </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3445</guid> 
</item>

<item>
	<title><![CDATA[Combining Queries]]></title> 
	<description><![CDATA[yes, except only return one value sum(quantity), since your already returning the partnum in the main query. It's probably not the fastest way, but it might be the easiest way.<br>
	 &gt; To: sql@houseoffusion.com<br>
	&gt; Subject: Re: Combining Queries<br>
	&gt; Date: Wed, <BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3444"  title="SQL: Combining Queries">more</A>]]]></description> 
	<pubDate>Wed, 08 Feb 2012 04:02:00 GMT</pubDate> 
	<dc:author>George Gallen </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3444</guid> 
</item>

<item>
	<title><![CDATA[Combining Queries]]></title> 
	<description><![CDATA[&gt; Can you make it a subquery? select p.partnum, (select partnum, <br>
	&gt; sum(quantity) as recqty......), cast(p.part........ G<br>
	<br>
	I don't know any different to say yes or no.&nbsp;&nbsp;If I do this, do I simply include the additional select statement in parenthesis<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3443"  title="SQL: Combining Queries">more</A>]]]></description> 
	<pubDate>Wed, 08 Feb 2012 03:01:00 GMT</pubDate> 
	<dc:author>Adam Parker </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3443</guid> 
</item>

<item>
	<title><![CDATA[Combining Queries]]></title> 
	<description><![CDATA[Can you make it a subquery? select p.partnum, (select partnum, sum(quantity) as recqty......), cast(p.part........ G<br>
	 &gt; To: sql@houseoffusion.com<br>
	&gt; Subject: Combining Queries<br>
	&gt; Date: Wed, 8 Feb 2012 14:00:23 -0500<br>
	&gt; From: adgparke@iupui.edu<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3442"  title="SQL: Combining Queries">more</A>]]]></description> 
	<pubDate>Wed, 08 Feb 2012 02:44:00 GMT</pubDate> 
	<dc:author>George Gallen </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3442</guid> 
</item>

<item>
	<title><![CDATA[Combining Queries]]></title> 
	<description><![CDATA[I have a page where I need to combine four queries into one query in order to use the query to build a spreadsheet.<br>
	<br>
	I have successfully combined the first three queries and obtain the desired results; however, when trying to incorporate the fourth and <BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3441"  title="SQL: Combining Queries">more</A>]]]></description> 
	<pubDate>Wed, 08 Feb 2012 02:00:00 GMT</pubDate> 
	<dc:author>Adam Parker </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3441</guid> 
</item>

<item>
	<title><![CDATA[MS SQL Standard vs Web Editions]]></title> 
	<description><![CDATA[Justin:<br>
	<br>
	If your databases are less than 10 gig in size and will remain that way for<br>
	a while, and you don't need replication and some other enterprise features<br>
	take a look at SQL Server Express.&nbsp;&nbsp;The price is really good, free.<br>
	<br>
	Ray Thompson<br>
	Tau <BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3440"  title="SQL: MS SQL Standard vs Web Editions">more</A>]]]></description> 
	<pubDate>Thu, 12 Jan 2012 08:29:00 GMT</pubDate> 
	<dc:author>Raymond Thompson</dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3440</guid> 
</item>

<item>
	<title><![CDATA[MS SQL Standard vs Web Editions]]></title> 
	<description><![CDATA[&gt; Anyone have any real world experience with Web Edition compared<br>
	&gt; to Standard to be able to comment on performance between the two?<br>
	<br>
	The core engine is the same between editions, as far as I understand<br>
	it, just limited in the number of CPU cores and<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3439"  title="SQL: MS SQL Standard vs Web Editions">more</A>]]]></description> 
	<pubDate>Wed, 11 Jan 2012 06:55:00 GMT</pubDate> 
	<dc:author>Justin Scott </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3439</guid> 
</item>

<item>
	<title><![CDATA[MS SQL Standard vs Web Editions]]></title> 
	<description><![CDATA[I read through MS site and comparison charts.&nbsp;&nbsp;We currently have a server running MS SQL Server 2000 Standard and were going to be upgrading.&nbsp;&nbsp;Looking at the differences in pricing for 2008 Standard and Web editions the Web edition is an attractive way to<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3438"  title="SQL: MS SQL Standard vs Web Editions">more</A>]]]></description> 
	<pubDate>Wed, 11 Jan 2012 04:37:00 GMT</pubDate> 
	<dc:author>Scott Mulholland </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3438</guid> 
</item>

<item>
	<title><![CDATA[sql exists]]></title> 
	<description><![CDATA[&gt; I'd like to use the sql exists() function but I'm not sure of it's<br>
	&gt; performance.<br>
	<br>
	The T-SQL EXISTS() function just returns true or false depending on<br>
	whether the subquery it is passed returns any rows or not, so its<br>
	performance is entirely <BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3437"  title="SQL: sql exists">more</A>]]]></description> 
	<pubDate>Thu, 29 Dec 2011 03:46:00 GMT</pubDate> 
	<dc:author>Justin Scott </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3437</guid> 
</item>

<item>
	<title><![CDATA[sql exists]]></title> 
	<description><![CDATA[I'd like to use the sql exists() function but I'm not sure of it's<br>
	performance. Every example I've seen does a select * inside the<br>
	exists(). Does it really select everything just to return 'true' or<br>
	does it just look for a row that exists with the data<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3436"  title="SQL: sql exists">more</A>]]]></description> 
	<pubDate>Thu, 29 Dec 2011 03:29:00 GMT</pubDate> 
	<dc:author>Michael Dinowitz </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3436</guid> 
</item>

<item>
	<title><![CDATA[NullIf and Divide By Zero]]></title> 
	<description><![CDATA[Thank you for the guidance.&nbsp;&nbsp;You suggestion and another tweak helped me get this functioning:<br>
	<br>
	avg (isNull(((docunitprice * orderqty)-((c.avglaborcost + c.avgburdencost + c.avgmaterialcost + c.avgsubcontcost + c.avgmtlburcost)*d.orderqty))/ nullIf(<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3435"  title="SQL: NullIf and Divide By Zero">more</A>]]]></description> 
	<pubDate>Thu, 29 Dec 2011 12:48:00 GMT</pubDate> 
	<dc:author>Adam Parker </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3435</guid> 
</item>

<item>
	<title><![CDATA[NullIf and Divide By Zero]]></title> 
	<description><![CDATA[&gt;  nullIf(docunitprice * orderqty)<br>
	<br>
	This where the error appears to be.&nbsp;&nbsp;The SQL NULLIF() function takes<br>
	two parameters and returns NULL if the values of the two parameters<br>
	match.&nbsp;&nbsp;In this case, I assume you want to return NULL if<br>
	(docunitprice * <BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3434"  title="SQL: NullIf and Divide By Zero">more</A>]]]></description> 
	<pubDate>Wed, 28 Dec 2011 10:24:00 GMT</pubDate> 
	<dc:author>Justin Scott </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3434</guid> 
</item>

<item>
	<title><![CDATA[NullIf and Divide By Zero]]></title> 
	<description><![CDATA[In my query, when calculating the average, I encounter a divide by zero error. I am attempting to resolve this by using Nullif, but I don't think my syntax is correct as Coldfusion throws an error stating incorrect syntax near ')'.<br>
	<br>
	My query is:<br>
	<br>
	&lt;<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3433"  title="SQL: NullIf and Divide By Zero">more</A>]]]></description> 
	<pubDate>Wed, 28 Dec 2011 09:52:00 GMT</pubDate> 
	<dc:author>Adam Parker </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3433</guid> 
</item>

<item>
	<title><![CDATA[Query Based on Query Result]]></title> 
	<description><![CDATA[Yes, it's different.&nbsp;&nbsp;It's Users.First and Users.Last, but NOT based on &quot;WHERE Sessions.UserID IN ('UserID_1','UserID_2','UserID_3')&quot;<br>
	<br>
	It comes from the same Users table, but it's the user based on the StaffID that comes from the query results.<br>
	<br>
	Rich<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3432"  title="SQL: Query Based on Query Result">more</A>]]]></description> 
	<pubDate>Wed, 23 Nov 2011 06:21:00 GMT</pubDate> 
	<dc:author>Rich </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3432</guid> 
</item>

<item>
	<title><![CDATA[Query Based on Query Result]]></title> 
	<description><![CDATA[Thanks, Kristen!&nbsp;&nbsp;So I just needed that &quot;as username&quot; part!&nbsp;&nbsp;I was so close!<br>
	<br>
	For whatever reason, the &quot;+&quot; symbol was not working, at least with the version of MySQL I'm using:<br>
	<br>
	&gt; (SELECT Users.First + ' ' + Users.Last FROM Users WHERE Users.ID=<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3431"  title="SQL: Query Based on Query Result">more</A>]]]></description> 
	<pubDate>Wed, 23 Nov 2011 04:26:00 GMT</pubDate> 
	<dc:author>Rich </dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3431</guid> 
</item>

<item>
	<title><![CDATA[Query Based on Query Result]]></title> 
	<description><![CDATA[ <br>
	<br>
	SELECT<br>
	<br>
	Users.First,<br>
	Clients.StaffID,<br>
		 <br>
	&nbsp;&nbsp;(SELECT Users.First + ' ' + Users.Last <br>
	&nbsp;&nbsp;&nbsp;FROM Users <br>
	&nbsp;&nbsp;&nbsp;WHERE Users.ID=Clients.StaffID) as username<br>
	<br>
	FROM<br>
	<br>
	..and so on...<br>
	<br>
	Kristen A. Winsor, PMP<br>
	Project Manager, Information <BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3430"  title="SQL: Query Based on Query Result">more</A>]]]></description> 
	<pubDate>Wed, 23 Nov 2011 08:28:00 GMT</pubDate> 
	<dc:author>Kristen Winsor</dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3430</guid> 
</item>

<item>
	<title><![CDATA[Query Based on Query Result]]></title> 
	<description><![CDATA[Hey Rich, I'm not sure I understand what you are trying to get. Is the info that you are trying to get any different than the Users.First and Users.Last as the first two fields in the SELECT clause? <br>
	<br>
	Jon<br>
	________________________________________<br>
	From<BR> [<A href="http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3429"  title="SQL: Query Based on Query Result">more</A>]]]></description> 
	<pubDate>Wed, 23 Nov 2011 06:53:00 GMT</pubDate> 
	<dc:author>Hallenberg, Jon</dc:author> 
	<guid>http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3429</guid> 
</item>

<item>
	<title><![CDATA[The Fusion Authority Quarterly Update Volume 3, Issue 1 is out now]]></title> 
	<description><![CDATA[If you want your ColdFusion skills to be up-to-date then you need the Fusion Authority Quarterly Update. The current issue is all about Data and how to make it work for you. Just what we all need.
	
	Order now]]></description> 
	<guid>http://www.fusionauthority.com/quarterly/data-how-to-make-it-work-for-you/</guid>
	<pubDate>Fri, 25 May 2012 03:19:50 GMT</pubDate> 
	<dc:author>Fusion Authority</dc:author> 
</item>


</channel>
</rss>


