Hi all

I have a phisical file with two key fields created from DDS for compile my
RPG program; this file is then duplicated with CRTDUPOBJ to Qtemp and then
via "SQL Create or Replace", populated with records/rows, but in this way
(SQL Create or Replace) i lost the key fields; the file became a nokeyed
file !!






Crtdupobj

create or Replace table qtemp.oc32W AS (

WITH pr AS ( bla , bla , bla )

with data

ON REPLACE DELETE ROWS




Is there any way to avoid it (lost key fields ??)

Thanks in advance

Gio




This thread ...

Follow-Ups:

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

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