|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Fri, 29 Sep 2006 @ 14:18:48 GMT
 
 Did you try with this? 
     select distinct cast(
            cast(A as char(10))||
            cast(B as char(60))
            as char(70))
     from DEV.Table
     where trim(A) <> 'NA'
     and trim(A) <> ''
     ;
It'll helps if you send the UPI (or NUPI) of the table. Bye. Castelli, Emanuel Alejandro 
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||