Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Tue, 07 Nov 2006 @ 19:56:31 GMT





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




Subj:   Need help with error code 3706
 
From:   Stone, Randall



I'm fairly new to Teradata, so this error is really puzzling me. Here's the code:

     UPDATE  lp_test_table lp1
     SET NEXT_OB_TMSTMP  = (SELECT min(lp2.OB_TMSTMP)
                                   FROM  lp2.lp_test_table lp2
                                   WHERE lp2.lead_num = lp1.lead_num
                                   AND lp2.OB_TMSTMP > lp1.OB_TMSTMP);

And this is the error I get:

     3706:  Syntax error: expected something between '(' and the 'SELECT' keyword.
     Output directed to Answerset window

Any help will be greatly appreciated.


Randall Stone





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008