Home Page for the TeradataForum

Archives of the TeradataForum

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

  <Prev Next>  
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?



  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020