× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



(Without specifying a column list on the insert and suppling default values in the select statement to account for the missing columns...)
- sjl


"TheBorg" wrote in message news:mailman.17707.1362585230.10847.midrange-l@xxxxxxxxxxxx...

Yup!

CPYF fromfile(xxx) tofile(xxx) FMTOPT(*MAP *DROP). ;-)

(you can't do that in SQL...)

-sjl


"Michael Ryan" wrote in message
news:mailman.17704.1362583290.10847.midrange-l@xxxxxxxxxxxx...

I need to insert corresponding columns from TableB into TableA. TableB has
more columns than TableA. All the rows will be inserted. I need the
equivalent of CPYF FMTOPT(*MAP *DROP). I don't want to specify all the
column names if I don't have to. Any ideas?

Thanks!

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-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.