DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: NEED HELP with procedure execution!!!

  1. #1
    Join Date
    Jan 2001
    Posts
    9

    Question

    I need some help with the execution of a procedure I am creating.

    I created a procedure that is supposed to create certain tables with the EXECUTE IMMEDIATE statement. The thing is that when I run this procedure it says that is has insufficient privileges. And I'm not running it with a different user than the one who created it.

    Furthermore if I execute the same create tables as I do in the procedure it works fine!!! This is driving me crazy because I have no idea as to what I should do.

    Thank you.


  2. #2
    Join Date
    Jul 2000
    Posts
    296
    Make sure the user who ownes the procedure has CREATE TABLE privilege granted directly, and not through a role. Roles are disabled in stored procerdures.

  3. #3
    Join Date
    Jan 2001
    Posts
    318
    Are you using Oracle 8.0.x or oracle 8.1.x ?
    this will not work in oracle 8.0.x

    Sonali
    Sonali

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width