Create/drop database link
-- Create public database link
oracle configurationintermediate
by OracleDba
12 views
-- Create public database link
12345678910111213141516
Create public database link LINK_PUB connect to system identified by oracle using 'PRODB';
where
PRODB
- >
tnsname
of the target
db
added in
tnsnames
.ora
connect scott/tiger
create database link LINK_PRIV connect to system identified by oracle using 'PRODB';
drop public database link TEST_LINK ;
connect scott/tiger
drop database link LINK_PRIV;
NOTE - Private database link can be dropped only by the owner of the database linkPlease to add comments
No comments yet. Be the first to comment!