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
Explain the working of primary key?
Can a key be both primary and foreign?
what is 'mysqlcheck'? : Sql dba
What are the different types of constraints?
What are the benefits of triggers?
What is pl sql package?
What are the differences between in and exists clause?
Can instead of triggers be used to fire once for each statement on a view?
Can we use having without group by in sql?
Can we join more than 2 tables in sql?
what is recursive stored procedure? : Sql dba
Explain the purpose of %type and %rowtype data types?
Explain the significance of the & and && operators in pl sql.
How do rank () and dense_rank () differ?
What is a loop in sql?