| 
 | 
I'm trying to create an SQL statement that will take records from a file
and duplicate them.  However, I want 1 field to change.  
I can get this to work 
INSERT INTO RGTSYS/UELLU (EENAME,EUSRID, ECPM, ECPMC)
select EENAME, EUSRID, ECPM, ECPMC                    
 from uellu where eusrid = 'SMITHMI'    
This copies the records as they are, however, I want to change the value
of EUSRID when I do the copy.  
I haven't been able to get this to work.  Is this possible?  
                
Michael Smith
iSeries.mySeries.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.