— user: sys
select db_link from dba_db_links where OWNER=’USERname’;
dblink_name
— tworzymy procedurkę:
CREATE OR REPLACE PROCEDURE USERname.drop_dblink AS
BEGIN
EXECUTE IMMEDIATE 'drop database link db
…
Notatki z działań, rozwiazywanie problemów itp. (głównie oracle i linux)
— user: sys
select db_link from dba_db_links where OWNER=’USERname’;
dblink_name
— tworzymy procedurkę:
CREATE OR REPLACE PROCEDURE USERname.drop_dblink AS
BEGIN
EXECUTE IMMEDIATE 'drop database link db
…
— w sqlplusie zwiększamy:
set serveroutput on
set serveroutput on size 1000000
set serveroutput on size unlimited