Correct way to give users access to additional schemas in Oracle

Posted by Jacob on Stack Overflow See other posts from Stack Overflow or by Jacob
Published on 2008-10-13T20:39:30Z Indexed on 2010/05/07 14:08 UTC
Read the original article Hit count: 236

Filed under:
|
|

I have two users Bob and Alice in Oracle, both created by running the following commands as sysdba from sqlplus:

   create user $blah identified by $password;
   grant resource, connect, create view to $blah;

I want Bob to have complete access to Alice's schema (that is, all tables), but I'm not sure what grant to run, and whether to run it as sysdba or as Alice.

Happy to hear about any good pointers to reference material as well -- don't seem to be able to get a good answer to this from either the Internet or "Oracle Database 10g The Complete Reference", which is sitting on my desk.

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about schema