Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> As On A Date query
Hello friends
Suppose in a table i have records like this. ( I am using Oracle 9.2)
Ac_No Date Balance
101 1/1/2005 1000 101 5/1/2005 1500
Each time a change occurs in the account a record is inserted into the table. This means the party maintained balance of 1000 from 1 to 4 th. How can i find balance as on 10/1/2005 (which is 1500) without using full table scan. It can be found using rank or other analytical function but requires full table scan.
Regards
Abhilash
Received on Fri Apr 01 2005 - 05:42:59 CST