Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sun, 13 Jul 2014 @ 11:43:21 GMT


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


Subj:   Re: How to populate Row values to column wise
 
From:   Dieter Noeth

Adhrssh.HS wrote:

  In teradata 14, we have the transpose function to do it. In normal SQL way, we can't do unless we know the exact number of records in the table.  


There's no transpose or pivot fuction in TD14, 14.10 or 15.

Otherwise there's the MAX(CASE) approach, manually or created dynamically within a Stored Procedure.


Dieter



     
  <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