Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 14 Jun 2006 @ 14:32:03 GMT


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


Subj:   Generation of Sequential Rows
 
From:   Anomy Anom

<-- Anonymously Posted: Monday, June 12, 2006 01:14 -->

I have a table like this

     col1    |     col2      |
       2           200
       6            10
       9           400
      13            60

and I want result set like this

      0        200
      1        200
      2        200
      3        200
      4        200
      5        200
      6         10
      7         10
      8         10
      9        400
     10        400
     11        400
     12        400
     13         60

Please send me any pointers to get the same done through SQL



     
  <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