Original Question: insufficient privileges to create a function by Tom
received [Error] Compilation (1: 1): ORA-01031: insufficient privileges when executing a create or replace function statement.
when the exact same (copy and paste) code with oracle sql developer in the same schema the function was created.
what do I need for this to work in toad?
Verified Answer: RE: insufficient privileges to create a function by Michael StaszewskiHow are you creating your function? Turn on SQL spooling from the Database menu and try again. Look at the output and locate the offending statement. Depending on execution method Toad executes other statements along with the create. One of those may be failing.
Michael
Question: RE: insufficient privileges to create a function by Tom
Thank you, that showed the problem.