Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 04 Aug 2005 @ 14:17:17 GMT


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


Subj:   How to Concatenate Column Values using SQL/Macros
 
From:   Murugesan Arumugam

Hi,

How to Concatenate Column Values using SQL/Macros (without Stored Procedure)

The requirement is like this

     Last     First     Code
     -------  --------- ----
     Lesand   Danny       1
     Lesand   Danny       2
     Lesand   Danny       3
     Benedi   Eric        7
     Benedi   Eric       14

Result should look like:

     Last     First     Codes
     -------  --------- -----
     Lesand   Danny     1,2,3
     Benedi   Eric       7,14

Does anyone thoroug light on it.


Thanks in advance.

MUrugesan A



     
  <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