|
|
Archives of the TeradataForum
Message Posted: Wed, 14 Jul 2004 @ 13:55:33 GMT
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
| |