Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Insufficient privileges : Dynamic View Creation ORACLE

Insufficient privileges : Dynamic View Creation ORACLE

Scheduled Pinned Locked Moved Database
databasehelporaclexml
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    prathameshpitale
    wrote on last edited by
    #1

    Hello, i have two user schemas. Let's Say A & B. A has a procedure written in it SAY 'XProc'. B has a package which has Procedure say 'B_Pack_Proc', which creates a dynamic view in B user schema. The B_pack_proc creates view in B schema itself. but i am executing the B_Pack_Pro from A, i am getting error insufficient privileges. I am using oracle forms 11g and oracle DB 11g. i have granted explicit grants to User A from User B i.e Create any view Execute on view. please help.

    - Prathamesh

    J 1 Reply Last reply
    0
    • P prathameshpitale

      Hello, i have two user schemas. Let's Say A & B. A has a procedure written in it SAY 'XProc'. B has a package which has Procedure say 'B_Pack_Proc', which creates a dynamic view in B user schema. The B_pack_proc creates view in B schema itself. but i am executing the B_Pack_Pro from A, i am getting error insufficient privileges. I am using oracle forms 11g and oracle DB 11g. i have granted explicit grants to User A from User B i.e Create any view Execute on view. please help.

      - Prathamesh

      J Offline
      J Offline
      Jorgen Andersson
      wrote on last edited by
      #2

      Have you given user A privileges to execute the package?

      GRANT EXECUTE ON B.packagename TO A;

      Wrong is evil and must be defeated. - Jeff Ello[^]

      P 1 Reply Last reply
      0
      • J Jorgen Andersson

        Have you given user A privileges to execute the package?

        GRANT EXECUTE ON B.packagename TO A;

        Wrong is evil and must be defeated. - Jeff Ello[^]

        P Offline
        P Offline
        prathameshpitale
        wrote on last edited by
        #3

        i have explicitly granted permission on the view, package and the tables in the views. still not working

        - Prathamesh

        J 1 Reply Last reply
        0
        • P prathameshpitale

          i have explicitly granted permission on the view, package and the tables in the views. still not working

          - Prathamesh

          J Offline
          J Offline
          Jorgen Andersson
          wrote on last edited by
          #4

          What's the exact error message?

          Wrong is evil and must be defeated. - Jeff Ello[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups