| Accessing other user's objects [message #379580] |
Wed, 07 January 2009 02:45  |
|
|
Hi, newbie here, so forgive me if this sounds ridiculous
Let's say I have users A1 and A2. A1 has a complete database (with tables, procedures, etc). A2 is a new user with virtually nothing in his pocket. To allow A2 to perform transactions on A1 tables, I can use the following command
grant SELECT,UPDATE,DELETE,INSERT on A1.TABLE_NAME to A2;
HOWEVER, I will have to prefix any transactions for A2 with "A1"
Ex: select * from A1.TABLE_NAME
Is there any way I can "map" the tables to use "select * from TABLE_NAME" as user A2 and still get the data?
Thanks in advance
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|