Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to share data in "User_*" tables with another schema

Jason_SJan 24 2013 — edited Jan 25 2013
I would like to share the data in the USER_SEGMENTS table with another schema. If I create a view and grant select on the view, when the other schema queries the view the data is identical to themselves querying the SYS.user_segments table directly.
create view sys_user_segments as select * from sys.user_segments;
grant select on sys_user_segments to A;
My guess is that the SYS.user_segments table is a view based on the current user.

Is there a way to share this data without creating a copy of the table?

Oracle: 10g

Thanks
This post has been answered by JustinCave on Jan 24 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2013
Added on Jan 24 2013
16 comments
1,608 views