Obsidian/Recognition/Programing/Oracle/DB LINK 생성.md

16 lines
436 B
Markdown
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

#Oracle #오라클
DROP DATABASE LINK SAMBOANT_NAPREQ;
CREATE DATABASE LINK SAMBOANT_NAPREQ
 CONNECT TO IZ_MOD
 IDENTIFIED BY <PWD>
 USING '(DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=222.251.186.41)(PORT=1521)) ) (CONNECT_DATA= (SID=ORCL) ) )';
CREATE DATABASE LINK TACEEZ_LINK
CONNECT TO user1 IDENTIFIED BY user1 USING 'TEST155';
-- link 생성 권한 부여
GRANT CREATE DATABASE LINK TO ERPMAN ;