Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: table access
no. you need to fully qualify the table name. as a workaround you can
create synonyms under the grantee which point to the fully qualified table
name and then refer to the synonyms in your code.
babu
Poosapati Varma <psgkv_at_yahoo.com>@fatcity.com on 01/10/2001 01:40:34 PM
Please respond to ORACLE-L_at_fatcity.com
Sent by: root_at_fatcity.com
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc:
Subject: table access
Hi guys,
I have a user which has for ex.. 100 tables.
i need to create a new user and allow the user to access the 'SELECT' on all the tables of the above user.
What i had done is created a newuser and created a role in the user which has 100 tables and issued
grant select on <100_table_names_here> to Role_1.
and
grant role_1 to USER2.
When the user issues a select statement on a table he has to issue the username.table_name to select data.
is there any other way to access the tables without mentioning the username.
Varma.
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Jan 10 2001 - 13:48:27 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |