|
midrange-l-request@xxxxxxxxxxxx wrote:
> 5. RE: Multi-row insert in SQL (Vern Hamberg)
>
>Right, Tom. But, of course, you need to have populated the intermediate
>table somehow. ;-)
>
>It seems that the mechanism for adding multiple records exists in the
>engine, since both the MODS RPG process and the subselect process are handled.
>
>Right now, the place I'd find the unsupported syntax to be helpful is in
>interactive SQL, when I'm trying to populate a file for testing.
Sorry, Vern, I should've seen ISQL coming. For me, maybe the choice would be to use EDTF to type into a CSV file and then CPYFRMIMPF to get them into a database format. I know, that might as well put them into your final table; but maybe you need to append sets of rows to your table or massage them otherwise before INSERT. And THEN the subselect...?
Tom Liotta
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.