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

Home -> Community -> Mailing Lists -> Oracle-L -> PL/SQL proc calls to a remote DB via DB link

PL/SQL proc calls to a remote DB via DB link

From: Martin, Alan <amartin_at_dlis.dla.mil>
Date: Thu, 20 Jun 2002 10:50:57 -0800
Message-ID: <F001.004831BC.20020620105057@fatcity.com>


Listers:

You have 2 DBs, "L" local, "R" remote. From within a PL/SQL package or procedure on the *local* DB, is it legal to: declare a local variable using a *remote* type:

MyVar_L userR.pkgR.typeR_at_dblinkR;

or call a *remote* procedure:

userR.procR(...)@dblinkR;

If it is legal to reference remote pkg/procs, is my syntax correct? If it is not, how do I accomplish this without having someone login to the remote DB?

Thanx,
Alan Martin
Principal Consultant
Defense Logistics Information Service
Battle Creek, MI

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Martin, Alan
  INET: amartin_at_dlis.dla.mil

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 Thu Jun 20 2002 - 13:50:57 CDT

Original text of this message

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