A Table has 10,000 records,How can i get latest 10 dates
from the table.so that i can only store those 10 records
in to my Resultset Object,to reduce load on my app?

Answer Posted / rajesh

select * from(select * from table_name order by date_column
desc) where rowid<=10

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of operating a database in ARCHIVELOG mode over operating it in NO ARCHIVELOG mode in Oracle?

657


What is auto invoicing? : oracle accounts receivable

667


What is the importance of batch source set up in ar? : oracle accounts receivable

729


Differentiate between writeoff and receipt writeoff. : oracle accounts receivable

748


default triggers available for reports

1767






TILL WHAT LEVEL OF SECURITY BO SUPPORTS?

2851


What is Restricted Mode of Instance Startup in Oracle?

690


WHAT ARE TEMPLATES?EXPLAIN WHAT YOU HAVE CREATED?

1513


What are the interface tables used for ar invoices, customers, receipts for conversion process? : oracle accounts receivable

770


How to clone the database using RMAN back

1628


Why more redos are generated when the oracle database is in begin backup mode?

678


what is the link between suppliers and banks in ap module in oracle apps? And also query?

2033


Differentiate between transaction type and transaction source? : oracle accounts receivable

687


Explain the use of table functions.

1816


HOW TO SPOT AHIERARCHY?

1857