On Tue, Oct 28, 2014 at 2:14 PM, Jean MAURICE <[email protected]>
wrote:

> Hi Stephen,
>
> I am getting a single cursor with a lot of columns; 4 of them are numeric
> and one more is '0000000.00 AS minimum'
> ----------------


Guessing that you are joining tables to pull the 4 columns.

If instead you pulled 1 column inside 4 rows ass the subquery you could get
the min from that if > 0.

This becomes a

Select Min( colName)
from (
Select
<all content here>
Union
Select
<all content here, just change table but keep column name the same>
Union
Select
<all content here, just change table but keep column name the same>
Union
Select
<all content here, just change table but keep column name the same>
)







-- 
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/cajidmylcaqsn0ftnxe_eqy8b-i3utej9pg515ch3s0m8yct...@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