what release was that added in?

I think V5R2... not sure.

I guess you're 'doomed' to embedded SQL then :)

Elvis

Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
OS/400
www.centerfieldtechnology.com


-----Original Message-----
Subject: Re: SQL question: something analogous to a multi-format logical . .
.

Vern Hamberg wrote:
SELECT 'LIB1', MYFILE.* FROM LIB1/MYFILE
UNION
SELECT 'LIB2', MYFILE.* FROM LIB2/MYFILE

and Elvis suggested much the same thing, only with a CREATE VIEW and
UNION ALL instead of UNION.

Not too bad, except that the UNION and UNION ALL clauses aren't allowed
in CREATE VIEW at V4R4 (what release was that added in?). Would be nice,
if we could have a persistent union, but generating it on the fly would
certainly work, after a fashion.

--
JHHL

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].