How do you retrieve set of records from database server.

{Set max records = 100 & use paging where pager page no or
records = 10 & after displaying 100 records again connect to
database retrieve next 100 }

Answer Posted / pandu

Hi the above posted Querry is wrong


this is Correct

Select * from TableName
where rowid in(
Select rowid from TableName
where rownum =&upto(EX <=100,200
minus
select rowid from TableName
where rownum<=&from(EX =1,101)
)

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is sql free?

493


Why indexing is needed?

509


How many tables can you join in sql?

522


When you have to use a default "rollback to" savepoint of plvlog?

712


How to get help at the sql prompt?

634






How do I count rows in sql query?

485


Explain table and field in sql?

576


What is group by in sql?

541


What are the disadvantages of not performing database normalization?

589


How to run pl sql program in mysql?

505


how is exception handling handled in mysql? : Sql dba

541


How do I edit a stored procedure?

546


Can we use insert statement in function?

510


what are the different functions in sorting an array? : Sql dba

574


How many commands are in sql?

519