Cursor function in DS
Posted: Thu Jun 14, 2007 11:06 am
Hi,
I want to search for previous rows in a table and make comparisons between them, can I do it in DS???
To explain it better, I have this table:
date, executive, account, value
I need to know if any of the values from one year behind the date in the row is above 1000. I know I can get it around using a Store Procedure with a cursor, but I cannot use external functions.
My DB is in oracle 9.1.
Thanks,
I want to search for previous rows in a table and make comparisons between them, can I do it in DS???
To explain it better, I have this table:
date, executive, account, value
I need to know if any of the values from one year behind the date in the row is above 1000. I know I can get it around using a Store Procedure with a cursor, but I cannot use external functions.
My DB is in oracle 9.1.
Thanks,