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 }
Answers were Sorted based on User's Feedback
Answer / 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 |
In a package if we have 10 procedures or functions,How to know which will execute first?
What is sql and also describe types of sql statements?
What are primary key and foreign key and how they work?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
Is sql between inclusive?
we have a package and we have grants to execute that package inside of that we have table, here we don't have privileges to this table? whether this package will execute or not?
What cursor type do you use to retrieve multiple recordsets?
17 Answers Apollo, CTS, IonIdea, Microsoft, Oracle, TCS, Vmoksha, Wipro,
Is primary key is clustered index?
what is a trigger? : Sql dba
what are the tunnig tables you used for tuning a query and tell me some of coloumns in that tuning tables?
What are the Diff B/W Cursor and REF Cursor
Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)