On Tue, Oct 8, 2013 at 2:56 PM, Gene Wirchenko <[email protected]> wrote:

>
>      What did end up working was creating a aggregate cursor of catx then
> selecting out only what I wanted.  I probably lost a good optimisation
> possibility, but I got my answers.
>
>      SQL is not very well designed.
>
-----------------------------


No I'll go with user error first.

Saw this start up and got a help ticket, to find poor sql sub-select  of
top 1 not sorted properly.

Did you just do a distinct on what was there without a join to get your
proper starting point?  Then compare that rowcount against your lookup
table for the descriptions?

-- 
Stephen Russell
Sr. Analyst
Ring Container Technology
Oakland TN

901.246-0159 cell


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cajidmylnjky2z_w6l8vgclwoqr6obazkvjagce4bdjvmnqh...@mail.gmail.com
** 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