Okay, I feel better now, thanks :)

James E Harvey
Hanover Shoe Farms, Inc.
M.I.S./Corresponding Officer
Off: 717-637-8931
fax: 717-637-6766
email: [EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of MB Software Solutions
Sent: Wednesday, August 08, 2007 11:40 AM
To: [email protected]
Subject: Re: select question

James E Harvey wrote:
> I'm being insecure in my skill level.
>
> I've been using "subselects" for what seems like years, and I was just
> thinking that maybe they were considered "old fashioned" by now?
>   

Others can better comment perhaps, but here's my take on it:  by using 
the JOINs on an optimizable (indexed) field, I'm cutting the response 
time down as the SQL engine ascertains the appropriate (or excludes the 
inappropriate, depending on your point of view) records sooner and 
doesn't have to do an entire subquery result and then join those matches 
to the master table.

Again, that's not from a textbook but just my recollection of how it was 
explained to me long ago.

Jim, if it works--and it's not terribly slow--stay with it.  No sense 
messing with something that operates just fine!

-- 
Michael J. Babcock, MCP
MB Software Solutions, LLC
http://mbsoftwaresolutions.com
http://fabmate.com
"Work smarter, not harder, with MBSS custom software solutions!"



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to