Quote:
|
Originally Posted by przytula
if using select * from table where empno > xx order by
it will get all rows > xx and srt these rows
it happens at open cursor
do : select * from table where empno> xx fetch first 5 rows only
be carefull to use also isolation level cs (or ur if no harm)
hope this will help
Best Regards, Guy Przytula
|
Hi Guy,
Thanks.
But you have completed my query:
"select empno,ename,edept,esal from emp where empno > ? order by empno"
will fetch all the rows after '?', but what I want is the cursor should only contain next 5 records (since I am using 5 rows per screen), therefore, any time, cursor should contain only 5 or less records.
Further, I still doubt whether this is required or not? Whether this will improve the performance?