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

List different type of expressions with the example.

551


How does one load ebcdic data? : aql loader

654


What does select top 1 do in sql?

544


Explain locks? : Transact sql

575


Which command is used to delete a trigger?

777






is it possible to pass an object or table to a procedure as an argument?

576


What is the difference between nvl function, ifnull function, and isnull function?

595


How can one get sql*loader to commit only at the end of the load file? : aql loader

573


What is left join in postgresql?

544


What is right join in sql?

557


How do you modify a column in sql?

536


How does stored procedure reduce network traffic?

549


What is the use of sqldataadapter?

539


What is the basic form of sql query?

495


When can we use the where clause and the having clause?

582