Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 10 Jun 2004 @ 15:03:32 GMT


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


Subj:   BTEQ update with CASE
 
From:   Nazy Gholizadeh

What is wrong with this, in a bteq update statement (reading from a flat file, for * need to make it null, else give it the value from the file)? It does not work..

     DATE_TS = (CASE WHEN :DATE_TS ='*' THEN NULL ELSE CAST(:DATE_TS) AS TIMESTAMP(0)) end),

Thanks...



     
  <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