Thanks for the clear explanations as usual.
David, November 16, 2004 - 11:43 am UTC
I'm getting the forrolowing error, when i execute the cursor for all my records in a table inside my procedure.
ORA-00036: maximum number of recursive SQL levels (50) exceeded
for example i have "mast" table with 10,000 records.
and i execute the foll command.
...
Declare
cursor cur is seelct * from mast;
Begin
for c in cur
loop
end loop;
end ;
...
Im trying to add security where clause thru VPD .
If the colA = 1, ,2,3 then
user group admin in hr division can access it .
or
If the colA = 1, ,2,3 then
user group admin in hr division
and
user group admin in acct divsison can access it .
How do a write a where clause for this situation, to avoid the recursive cursor.
Thanks
November 16, 2004 - 1:01 pm UTC
sounds like you have an accidently infinte loop. without seeing code -- cannot "help"