Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 13 Jan 2004 @ 12:31:16 GMT


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


Subj:   Re: How to concatenate the column values
 
From:   Jim Downey

Do you know the max number of columns? if so, you just need to code for the max number of columns. Say you code for 20 and only get 19, the last column will be '' which gives you the desired result.

It doesn't matter how many rows.

You could use a stored procedure to pass thru the table concatenating values until your activity count=0. I am not proficient enough to pop off an example but I am pretty sure you could do it.


Jim



     
  <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