Last active
August 29, 2015 14:08
-
-
Save uilian/2701e949a64be27235de to your computer and use it in GitHub Desktop.
DBLINK Oracle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- drop database link LINK_NAME; | |
create [PUBLIC] database link LINK_NAME connect to REMOTE-USER identified by "PASSWORD" using | |
'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=remote.addess.ip)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=service_name)))'; | |
-- select * from remote_table@link_name; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment