Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 14 Jul 2004 @ 13:55:33 GMT


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


Subj:   Changing a column name while concatinating
 
From:   Nomula, Madhukar

I have a situation in fast export where i need to change a column name, so that i can use it later. Here is the query:

select customername || (case when custid=something then '' else custid=custid end) new_custid || (case when new_custid='' then deptno='';

The above query is working fine, if i don't do concatination, but is giving an error when concatinating because of changing a coumn name. Is there any way around it?


Mad



     
  <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