Bradley V. Stone wrote:
Ha... one more question I'm guessing the answer is "no".. but is there any
way to know which file the record from the result set came from if it was a
union? :)
Use constants:

SELECT 'FILENAME1', FILE1FLD1, FILE1FLD2 from FILENAME1
UNION ALL
SELECT 'FILENAME2', FILE2FLD1, FILE2FLD2 from FILENAME2

Joe


This thread ...

Follow-Ups:
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].