Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 24 Jun 2004 @ 13:34:22 GMT


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


Subj:   Re: How to select row numbers with something like rownum
 
From:   Michael Larkins

Partho:

Thank you for clarifying your actual need. You don't use a WHERE for this, instead you use a QUALIFY, as in the following:

     Select ....  from ...
     QUALIFY row_number() OVER (ORDER BY ...) < 12

Regards,

Michael Larkins
Certified Teradata Master



     
  <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