Created
October 19, 2017 08:42
-
-
Save hearimm/331ccb9401fd5f5b6612f84e7d473e38 to your computer and use it in GitHub Desktop.
how to make database link
This file contains hidden or 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 PUBLIC DATABASE LINK LIVE; | |
| CREATE PUBLIC DATABASE LINK LIVE | |
| CONNECT TO YOUR_USER_ID | |
| IDENTIFIED BY YOUR_PASSWORD | |
| USING | |
| '(DESCRIPTION = | |
| (ADDRESS_LIST = | |
| (ADDRESS = (PROTOCOL = TCP) | |
| (HOST = YOUR_HOST_ID) | |
| (PORT = 1521) | |
| ) | |
| ) | |
| (CONNECT_DATA = (SID = YOUR_SID ) | |
| ) | |
| ) | |
| '; | |
| --USAGE : SELECT * FROM YOUR_TABE@LIVE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment