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

What is autocommit sql?

704


what is the difference between a web-garden and a web-farm? : Sql dba

752


how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

716


How to run sql commands in sql*plus?

780


what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba

754






What is secondary key?

669


What are the different operators available in sql?

746


Does pl/sql support create command?

738


What is difference between function and trigger?

715


Can cursors be part of a trigger body?

1348


What does the base_object_type column shows in the user.triggers data dictionary view?

757


How does sql profiler work?

751


What are the 3 types of behavioral triggers?

940


What is dba in sql? : SQL DBA

739


What is a pragma statement?

954