Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 30 Mar 2004 @ 15:15:38 GMT


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


Subj:   Normalizing in TSQL...
 
From:   Jebaseelan_S

Hi All ,

I have a scenario in which I have to normalize certain records.

Table A has

Col1    Col2    Col3
A       B       1
A       B       2
A       B       3
A       C       4
A       C       3

I want in Table B as

Col1    Col2    Col3
A       B       123 ( Concatanated Col3 for this AB Group.)
A       C       43   ( Concatanated Col3 for this AC Group.)

Could any body help on this ...



     
  <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: 15 Jun 2023