Archives of the TeradataForum
Message Posted: Wed, 14 Jul 2004 @ 13:55:33 GMT
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?
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|