Icon View Thread

The following is the text of the current message along with any replies.
Messages 41 to 43 of 43 total
Thread Display Duplicate Records in DBISAM
Fri, Jan 6 2006 1:02 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Robert,

<< The above would probably be a subquery, with the main query selecting
name, phone number, whatever. >>

That's what I thought you would say.  The only time this is an issue is with
sub-queries, just like the original example with COUNT(*).  Any other time,
it is of no consequence to include the SUM() expression in the SELECT list.
In fact, I would assume that in most cases one would want it anyways.

<< How else would you give the year end bonuses at Elevate? >>

We don't get bonuses - we have to be happy with a paycheck, period. Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com



Fri, Jan 6 2006 3:09 PMPermanent Link

"Robert"

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:504A657E-0E82-4B1C-BCB3-0C91C0820C6A@news.elevatesoft.com...
> Robert,
>
> << The above would probably be a subquery, with the main query selecting
> name, phone number, whatever. >>
>
> That's what I thought you would say.  The only time this is an issue is
with
> sub-queries, just like the original example with COUNT(*).  Any other
time,
> it is of no consequence to include the SUM() expression in the SELECT
list.
> In fact, I would assume that in most cases one would want it anyways.

Sure. It is really no big deal, it was mostly an academic discussion. I very
seldom use subqueries anyway, since with DBISAM a script selecting the
aggregate into a memory table, indexing the memory table and then using a
join in the final query is sooo much faster.

It just seemed that since you can use WHERE field = xx without selecting
field, you should also be able to prevent the selecting of the aggregate
number, and just use it in the HAVING clause.

I guess we'll have to live with this "serious flaw" sigh Smiley

Robert

PS: Thanks for taking care of my customer and his ODBC problem, as usual Tim
performing above and beyond the call of duty.

Mon, Jan 9 2006 11:32 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Robert,

<< Sure. It is really no big deal, it was mostly an academic discussion. I
very seldom use subqueries anyway, since with DBISAM a script selecting the
aggregate into a memory table, indexing the memory table and then using a
join in the final query is sooo much faster.

It just seemed that since you can use WHERE field = xx without selecting
field, you should also be able to prevent the selecting of the aggregate
number, and just use it in the HAVING clause. >>

Normally, yes.

<< I guess we'll have to live with this "serious flaw" sigh Smiley>>

Yes, at least for now. Smiley

<< PS: Thanks for taking care of my customer and his ODBC problem, as usual
Tim performing above and beyond the call of duty. >>

No problem.  He's always very nice when he calls, so I'm always more than
happy to help him out.

--
Tim Young
Elevate Software
www.elevatesoft.com

« Previous PagePage 5 of 5
Jump to Page:  1 2 3 4 5
Image