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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to avoid distributed query in PL/SQL???

Re: How to avoid distributed query in PL/SQL???

From: Sheilah Scheurich <scheuric_at_wantnospamsprynetatall.com>
Date: 1997/12/18
Message-ID: <3499996E.9C9A290F@wantnospamsprynetatall.com>#1/1

What you are describing is a replicated environment. Create a local table using snapshots to reflect your remote data. This will allow you to create a query that will use two local tables without a distributed join.

-Sheilah Scheurich
DBA
to respond via email remove "want no spam at all" from my address.

Nagesh Chigurupati wrote:

> Hi everyone,
>
> I am in a situation where I have to write a query in a procedure that
> is join between tables on two
> servers. I basically have to retrieve data on a remote server based on
> values of a column in the
> local database.
>
> Eg:
> Column_values_on_local = '1','2','3','4',.......
>
> Now is there a way to store these in a local variable such as a table
> or record and then use these
> variables in the query for the remote table? This way I could avoid
> writing a distributed join query.
>
> Any response would be greatly appreciated.
>
> Thank you.
>
> Nagesh
Received on Thu Dec 18 1997 - 00:00:00 CST

Original text of this message

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