Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 29 Nov 2001 @ 19:51:30 GMT


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


Subj:   Re: Limiting the number of rows returned from Teradata SQL
 
From:   John Adams

"Teradata Forum (TDATA-L)" wrote:

  Is there anyway via Teradata SQL to limit the number of rows returned from a query.  



How about:

SELECT STUFF
FROM Whatever
WHERE Something = 'Something Else'
SAMPLE 1000


to get a thousand rows?


John A



     
  <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