Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Mon, 10 Jul 2006 @ 09:43:27 GMT





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




Subj:   Converting Rows to coulmns by some Fucnction of teradata
 
From:   Saurabh_Dinesh



Hi All,

My Source table has data Like

        Id       Tp_code
     124999720   MBLOTM
     124999720   MBLACF
     124999720   MBLPCP
     124999720   MBLSMS
     124999720   MBLDMF

But we need to convert the data to a single row

     124999720    MBLOTM   MBLACF   MBLPCP   MBLSMS   MBLDMF

Well we can do the things by some ETL tool like DataStage very Easily but can we do it by a simple SQL query or Teradata Function

Can someone help?


Regards,

Saur





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008