Grant problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • holdingbe
    New Member
    • Jul 2007
    • 78

    Grant problem

    Hi all,
    I given the grant previlage to some user.

    Foe example

    grant select on star.employees to scott..

    star and scott are schema name.from the scott i execute like

    select * from star.employees i got output but i execute like select * from employees without schema name i got the error like ora-00942 table or view does'nt exisit..urgentl y i need ....pls help me
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Even though the user scott has grant previliges on the employees table ,scott is not the user of the table .
    scott tries to select from table of another user.
    so every time scott has to qualify the object name by the schema name.

    Comment

    • rajanbabu23
      New Member
      • Jul 2007
      • 4

      #3
      try it...

      create or replace view employees as
      select * from star.employees ;


      select * from employees ;

      Comment

      Working...