Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

oracle LIMIT equivalent? 1

Status
Not open for further replies.

TGJ

Programmer
Jan 31, 2005
64
CA
Hi, I have used a mySQL database in the past and used the LIMIT function to limit my query results. eg. LIMIT 10 at the end of the query would restrict the results to the first 10 records. I am wondering if there is a similar function in oracle? Thanks.
 
Hi, TGJ

Maybe,
WHERE ROWNUM <= 10 in the SELECT statement

Regards,


William Chadbourne
Oracle DBA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top