Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 30 Mar 2012 @ 22:21:37 GMT


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


Subj:   Store procedure update
 
From:   Issah, Gabriel

Is it safe to put this code in my store procedure? Using the word from and inner joins

     UPDATE tblMonthly
     SET Reject = '1'
     FROM tblM M
     INNER JOIN tblMonthly E ON E.BID = M.BID WHERE CDesc = 'IOU' AND Reject <> '1'
     AND STRTDate = @STRTDate

Thanks

Gabe



     
  <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: 27 Dec 2016