Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: table access

Re: table access

From: <Babu.Nagarajan_at_Cummins.com>
Date: Wed, 10 Jan 2001 14:48:27 -0500
Message-Id: <10737.126317@fatcity.com>


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.



Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Poosapati Varma
  INET: psgkv_at_yahoo.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: 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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US