Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 04 Jan 2008 @ 10:39:24 GMT


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


Subj:   Re: Order and Level
 
From:   Victor Sokovin

  On the fly i need to arrange the records and introduce column ORD and LEVEL.  


I suggest to read the parallel thread with the "previous row" puzzle and then perhaps open the manuals describing OLAP functions such as RANK() or ROW_NUMBER(). This is all you really need to solve your problem yourself. I don't think that this particular puzzle is interesting enough for a separate discussion when a similar one has just been discussed in all due depth.

Could be just my opinion, though.


Regards,

Victor



     
  <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