Skip to Main Content

Oracle Database Discussions

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 select over a dblink.

417099Jun 5 2008 — edited Jul 3 2013
Hi, we have two databases db817 (8.1.7) and db9i (9i)

db817 has user dbs and dblink db9ilink that connects to db9i

db9i has schema emp and table employees in it.

How can I grant select on emp.employees table of db9i to user dbs on db817? so that the user can select from employees table over dblink using the statement
select emp.employee from db9ilink

I did the following but got an error.

SQL> grant select on emp.employee@db9i to dbs;
grant select on emp.employee@db9i to dbs
*
ERROR at line 1:
ORA-02021: DDL operations are not allowed on a remote database
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2013
Added on Jun 5 2008
4 comments
18,442 views