Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get First 10 records from database

843854Jan 10 2005 — edited Feb 7 2007
Hi all,

Anybody please tell me how to get first 10 records from the database.
Assume in the dabtabase there are 100 records.

As the following query returns all the row from customer table.
----------------------------------------------
select * from customer
----------------------------------------------

Please reply as soon as possible .

Thanks

amitindia
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2007
Added on Jan 10 2005
25 comments
728 views