Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 10 May 2005 @ 21:17:13 GMT


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


Subj:   Re: UPDATE, SET, & Subquery
 
From:   Wayne Schachtel

try -

     UPDATE SUMMARY_TABLE
        FROM
           (SELECT COUNT(1) CNT
                FROM TABLE_OF_MISMATCHES) VT
          SET TOTAL_COLUMN = VT.CNT ;

Wayne Schachtel
Wayne Schachtel Consulting



     
  <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