SQL does not have the feature that CPYF has. You have to do the work.
Remember, SQL is common across most systems today and they do not have a
CPYF.

However, you could use the following INSERT command.

INSERT INTO Lib.Table Field_to_br_read_Into (Select RRN(a) from
Lib.Table2)

In this example, you specify the field to copy the selected field into. All
other fields not specified will be initialized as defined when the
file/table was created, that is, blanks, numeric or null values.

Darryl Freinkel | Assignment 400 Group, Inc.
Tel: 770.321.8562 ext 111 | Fax 770.321.8562




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.