Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 31 Jan 2003 @ 11:17:09 GMT

  <Prev Next>  
Next> Last>>  

Subj:   Subqueries in update syntax
From:   Philippe VILLENEUVE


Please can someone say me what the syntax is to use subqueries to retrieve values in the set clause of an update?

like this :

update xxxx set DATE_FIN_VALD_INFO=
select DATE_DEBU_VALD_INFO from zzzz
where code_ape_insee='xxxx'

It does not work, i have the following syntax error :

*** Failure 3706 Syntax error: expected something between '(' and the
'select' keyword.

Thank you

Bests regards,


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