I'm really digging being able to assemble multiple WITH/AS clauses with a
SELECT statement to return results in an interactive SQL session, but I'm
being asked to populate a table with the results. Short of using my debugged
SQL code in an RPG program to write the output (can I even do that?) to a
file, is there an easy and/or elegant way to do what I need?

From what I'm gleaning from the SQL manual, it doesn't seem that SELECT
output can be directed to a file.

Buzz Fenner

Business Systems Analyst/Systems Administrator

City Water & Light

870.930.3374 | 870.219.5229


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.