Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 10 May 2006 @ 10:18:08 GMT


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


Subj:   The first lines for the result of a request
 
From:   BERRAFATO J-Michel

Hi all,

I'm trying to create request where the result must be the first 50 lines

     Select c1 , c2
     from  t1
     Order by c1

In oracle database we used a synthax like :

     Select c1 , c2
     from  t1
     Where rownum < = 50
     Order by c1


     
  <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