Non-schema owner default to schema [message #171137] |
Mon, 08 May 2006 11:39 |
TLegend33
Messages: 203 Registered: March 2005
|
Senior Member |
|
|
Is there a way to have a user default to always select objects from another schema the user has been granted access too?
For example, our code connects directly to objects within the schema owners schema 'user1'. We'd like to create another user 'user2' that can access the user1 schema for security purposes. I can currently select objects from user1 as user2:
select name from user1.name_table;
Is there any way I can select these same objects from user1 as user2 without having to preface the object with the user1 schema name?
user1.object_name
I ask because it would create a significant rewrite of our application.
Thanks.
|
|
|
|
|