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!

GRANT syntax : Grant SELECT privileges on tables to a User on a Remote DB

837734Jun 24 2011 — edited Jun 24 2011
Hi
I am having two databases: DEV1 and DEV2. DEV1 is my source database and DEV2 is target database. There is a table in Schema A on Dev1. I have created a PUBLIC DBLINK "TESTDBLINK" in Schema B on DEV2 that connects to Schema A on DEV1.

Database Schema Table Machine
DEV1 A EMP 192.168.210.10

Database Schema Database Lik Machine
DEV2 B TESTDBLINK 192.168.210.11

How to grant SELECT privileges on Schema A Table EMP ( DEV1 ) to Schema B on DEV2 ? What is the syntax ?


e.g. Log in as Schema A on DEV 1

SQL> GRANT SELECT ON EMP TO *???????*

Thanks for your inputs
Harry
This post has been answered by Toon Koppelaars on Jun 24 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2011
Added on Jun 24 2011
2 comments
843 views