On Tue, Oct 28, 2014 at 12:17 PM, Jean MAURICE <[email protected]> wrote:
> I have a curious issue ! > > In a SQL query, I get 4 numeric fields from 4 tables (with subqueries). I > want a fifth field containing the minimum value of the 4 fields (of the > current line). But when I write MIN(), even in an EVALUATE command, SQL > thinks it is a SQL MIN(). > > Is there a way to compute this minimum WITHOUT creating an external > function ? > > Nowadays, I just add a REPLACE ALL after the REQUERY() but I wonder if we > can do better. > > --------------------- Are you getting 4 cursors each with a single row/column, or one cursor with 4 columns? -- 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/cajidmylenbrlh30cfla5dr_wpfzwx2sl6_i02kdkocpbdqi...@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.

