Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Remote execution of pl/sql

Remote execution of pl/sql

From: John Weatherman <john.weatherman_at_replacements.com>
Date: Tue, 25 Jun 2002 07:18:50 -0800
Message-ID: <F001.00486B26.20020625071850@fatcity.com>


I am in the process of writing a pl/sql block to run on instance A. At one point, I need to run a procedure that resides in instance B against instance B's dataset. Is there an easy way to do this?

The basic problem is:

### Set up Instance Source for replication ###
  ...
  ...
  dbms_offline_og.begin_instantiation(gname => '&gname', new_site => '&new_site');

### Execute begin load against target ###
  dbms_offline_og.begin_load(gname => '&gname', new_site => '&new_site');   

### Return to Instance A to return code if everything is ready ###

Is it possible to issue a connect within a PL/Sql block?

TIA, John P Weatherman
Database Administrator
Replacements Ltd.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: John Weatherman
  INET: john.weatherman_at_replacements.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jun 25 2002 - 10:18:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US