you just granted access, so you've to use owner name with object when accessing
Main Topics
Browse All TopicsHi Experts.
I am logged on as the objects owner with full privileges and I have tried to grant privileges to several people using the script below, just changing the user name and password.
Each instruction is accepted. But when I log out and log in as one of the users I cant see any tables, including the table customer. Thus I cannot insert or view etc.
Am I doing something obviously wrong?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
*) suppose i'm connected with scott/tiger, and scott has customer table
**)
REATE USER James identified by james
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp
QUOTA 15M ON users;
GRANT CREATE SESSION to james;
CREATE ROLE manager;
GRANT SELECT, INSERT, UPDATE ON customer TO Manager;
GRANT Manager to James;
***) conn james/james
****) select *from tab;
Output--> no rows selected 0 rows etc
*****)
select *from scott.customer;
Output-->
all rows from from customer table displayed
>> have tried to grant privileges to several people using the script below
I'm surprised how could u create the MANAGER role everytime without getting errors!
>> customer is a synonym for smythe.customer.
Unless the synonym is PUBLIC, u will still have to prefix the schema-name of the synonym or the table to access its contents from the regular user's login.
select * ownerName.objectName;
--------------------------
http://www.itk.ilstu.edu/d
http://www.databasejournal
Business Accounts
Answer for Membership
by: sonicefuPosted on 2008-01-06 at 10:18:33ID: 20594877
select * from OwnerName.customer;