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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display a definite number of lines of the result of SQL request

Status
Not open for further replies.

cagouille78

Technical User
Jun 25, 2001
2
FR
Hi
under Oracle 8.1.5
what is the SQL syntax to display only the first lines of the result of a request?
Thank's a lot
 
SELECT * FROM (original select) WHERE ROWNUM < 2;

Is this what you mean?

JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top