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 / ranjan satapathy
Your query: to get latest 10 dates from the table
select date_column , *
from table
where date_column between sysdate and (sysdate-10)
will show the latest date upto 10 last day
Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
What do you mean by hz_ in customer tables? : oracle accounts receivable
what is semphore explian it?
What is the Difference between the Person_Type_id column in the per_all_people_f and per_person_type_usages_f
Is there any link between pr form(purchse requisition)and po form(purchase order)
QUESTION IS THAT DURING UPLOADING DATA IN PROD SERVER,OUR EQUIPMENT TAG NUMBERS ARE NOT MATCHING WITH SAP TAG NUMBERS SO DUE TO THIS WE ARE FACING PROB, BECAUSE WHENEVER ALARM IS COMING FROM SCADA DUE MISMATCH THE NOTIFICATION IS NOT CREATED IT IS GIVING ERROR. PLEASE SUGGEST THE METHOD SO THAT THE TAG NUMBERS OF BOTH (SCADA EQUIPMENT AND SAP EQUIP) SHOULD CONCIDE.OTHERWISE WE HAVE TO GO FOR LONG PROCESS EITHER BY INTERFACE TABLE OR BY EXPORTING ALL DATA AND MAKING RIGHT CHANGES.DO YOU HAVE ANY SHORTCT METHOD PL WRITE ME. THANKS
What is the importance of batch source set up in ar? : oracle accounts receivable
Differentiate between earned discounts and unearned discounts? : oracle accounts receivable
difference of using cursor for loop and open,fetch,close.which one is better
What is autocashrule set? : oracle accounts receivable
HOW TO SAVE UNIVERSES AND DOCUMENTS IN THE REPOSITORY?
What is auto invoicing? Explain : oracle accounts receivable
Are These Dff's Flexible?
what is difference between inner join & nested query or subqueries
What is the use of transaction flexfield in autoinvoice? : oracle accounts receivable
What view would you use to determine free space in a tablespace?