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

How would you determine what sessions are connected and what resources they are waiting for?

1845


What are the different tools available for hot backups in Oracle? Is it preferable to take it manually all the time or it depends on the size of the database?

967


as a technical developer in oracle applications which type errors feced in your experience sofar

2105


i am working with OC 4.5 i have numbers in table in 10 row with some null values please tell me how to find total? Thanks

2000


Explain prerequisites and post activities of oracle database installation

1889


Could you please let me know the interfaces in OM / FA??

1947


Give two methods you could use to determine what DDL changes have been made.

6373


1.In a table Gender is a column in that male and female are the two data.In a single statement i have to modify all male to female and all female to male vice versa. 2.In a single query i need the count of male data,count of female and total count

16922


i want to know about the javaBean.what is its purpose and how it can use in Forms.

2105


What is the difference between oracle media recovery and crash recovery?

894


I've got a database 10g and Form version 5.0 but unable to connect. Does Oracle 10g database supports form 4.5

2290


What is the use of lockboxes? Steps for lock box : oracle accounts receivable

1025


if i write the procedure.. and other person make the changes in that code then where i find who is changing my procedure

1753


How I can load an image into image item on Forms. I want to know about built-ins and procedure. and also code for it.

1848


Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable

1521