Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 03 Apr 2013 @ 19:38:46 GMT


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


Subj:   Limit/Reset Rank
 
From:   Kakade, Suyog

Hi,

I have a scenario in which I want to limit the rank or rownumber for a particular partition below 32000.

Currently I?m using a case statement to truncate the values at 32000 for the ranked combination which is a temporary solution.

I want to limit the resultset while generating rank to 32000 or lower. is it possible, if yes how ?

Also, I want the next rank for the same partition to start from 2 instead of 32001 ( dense rank in oracle)

Please help.


Thanks & Regards,

Suyog



     
  <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