Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 10 May 2005 @ 20:22:13 GMT


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


Subj:   Re: UPDATE, SET, & Subquery
 
From:   Muthusamy, Sudha

Dan

Teradata syntax is slightly different

Your query needs to be modified as follows

     UPDATE SUMMARY_TABLE
          From (SELECT COUNT(1) TOTAL_COLUMN
                FROM TABLE_OF_MISMATCHES) b
     SET TOTAL_COLUMN = b.TOTAL_COLUMN

Hope this helps


Thanks

Sudha



     
  <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