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!

ONLY INSERT OR DELETE PRIVILEGE IN DATABASE LINK

Fahim5Jun 27 2013 — edited Jul 1 2013

Hi all,

Db version 11.2.0.1

Os Red hat 5.5

I have created a private database link by following way

create database link test_link

connect to Scott identified by tiger

using

'(DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.194.180.45)(PORT = 1521))

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SERVICE_NAME = prod)

    )

  )'

The link is created successfully and i am able to perform all DML operations on it.

The Question is there any way by which we can grant only insert or delete or privilege not to delete from the  table to this link.

For only select operations i know that by creating a view i can restrict the remote connecting user but is there any way by which i can give only insert or to revoke delete through database link.

This post has been answered by unknown-698157 on Jun 27 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2013
Added on Jun 27 2013
5 comments
1,062 views