Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

i have 1000 records in resultset, how to get first 100
records from resultset, because resultset fetch all 1000
records at a time?

Answer Posted / ravi

the is a syntax in sql 'limit'....using this u can get
desired number of rows...

suppose database having 1000 rows..

query will be:

select * from table limit 100;

first 100 rcds will be selected...

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?

2304


What does the jdbc databasemetadata interface?

1036


What is two-phase commit in the database?

1114


What protocol does jdbc use?

1027


How can I manage special characters when I execute an insert query?

991


Explain about multiple implementations and drive manager?

1101


Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?

1070


How can you know about drivers and database information ?

1055


What do you mean by batch processing in jdbc?

1060


What does executequery return in java?

985


What is the advantage of namedparameterjdbctemplate?

1013


How to make updates to updatable result sets in jdbc?

952


Differentiate between a statement and a preparedstatement.

1109


code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)

4464


What is batch processing and how to perform batch processing in jdbc?

980