Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 31 Mar 2006 @ 19:12:11 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: SAME TABLE UPDATE
 
From:   Anomy Anom

<-- Anonymously Posted: Friday, March 31, 2006 13:15 -->

Try to change your SQL to the following:

     update a
     FROM PRODDSS_DEV.POITOUSE a,
     PRODDSS_DEV.POITOUSE b
     set ORD_QTY = b.DLV_QTY
     WHERE a.PO_NBR = b.PO_NBR
     and a.ITM_NBR = b.ITM_NBR
     and a.ENTR_DT = b.ENTR_DT

You can find the same example in the SQL reference manual for update in DML portion.


Hope this helps



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023