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!

Create synonym on dblink

2709933Jul 21 2016 — edited Jul 21 2016

Hi,

i have requirement, to create a dblink, then i have to create a synonym on it.

Ex:

CREATE DATABASE LINK "xyz.abc.COM@asdf"

   CONNECT TO "user1" IDENTIFIED BY VALUES ':1'

   USING 'xyz.abc.COM';

I can get the data from using above db link.

select * from table1@xyz.abc.COM@asdf;

But after creating dblink, how to create a synonym on it, and how to select data from that synonym.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 18 2016
Added on Jul 21 2016
3 comments
5,590 views