![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 14 Jul 2004 @ 17:28:55 GMT
OK try this:
SEL customername || 'abc' || custid || (CASE WHEN customername
|| 'abc' = 'something' THEN '1' ELSE '0' END) FROM customer;
It is kind of verbose but it works. Edmond Ray
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||