Create DBLINK for another schema


 

create or replace procedure another_schema.dblink_another_schema as

BEGIN

EXECUTE IMMEDIATE ‘CREATE DATABASE LINK DBLINK_NAME

CONNECT TO username

IDENTIFIED BY password

USING ”TNSNAME”’;

END;

/

Exec another_schema.dblink_another_schema;

Drop procedure another_schema.dblink_another_schema;

Dengan kaitkata , ,

2 thoughts on “Create DBLINK for another schema

  1. Rio mengatakan:

    Salam kenal Mas Eko
    Kok pesan sy ga ada kbrnya?
    Nie email sy:Ori.Hamzah15@gmail.com
    Sy mau tanya tentang Database
    Tolong kirim jawaban atas pertanyaan yg diajukan Mba Citra ke email sy ya Mas
    Thanks.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: