Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Location
    india
    Posts
    67

    Unanswered: error with Execute immediate

    Dear Gurus,
    Please help me

    When I issue the command CREATE procedure using dynamic query using an 'EXECUTE IMMEDIATE' instruction,I get a ORA-01031: insufficient privileges message.

    Thanks,
    Srinivas

  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    Provided Answers: 1
    Sounds like you only have the necessary priviliges via a role, not directly. You need the privilege granted directly to your username.

  3. #3
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    Just being curious: why would you want to create a procedure dynamically?

  4. #4
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    A shovel is a great tool for making a hole in the ground;
    but only when the "correct" end of the shovel contacts the Earth.

    It appears to me somebodyis using the wrong end of Oracle.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

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