From oracle-l-bounce@freelists.org  Thu Oct 14 14:21:49 2004
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air189.startdedicated.com (root@localhost)
 by orafaq.com (8.11.6/8.11.6) with ESMTP id i9EJLnc09365
 for <oracle-l@orafaq.com>; Thu, 14 Oct 2004 14:21:49 -0500
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i9EJLhI09325
 for <oracle-l@orafaq.com>; Thu, 14 Oct 2004 14:21:43 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id 292DE72DB4C; Thu, 14 Oct 2004 14:25:44 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 01317-63; Thu, 14 Oct 2004 14:25:44 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id 8EC8572DB02; Thu, 14 Oct 2004 14:25:43 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Subject: Database Link Problem in 9.2.0.5
Date: Thu, 14 Oct 2004 12:24:00 -0700
Message-ID: <63A70CA32CEF354892F78EADB13D329703262D04@seaems005c>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Database Link Problem in 9.2.0.5
Thread-Index: AcSyIrLKY3/zphj/Rbm8dbng0Yv21QAAEtiQ
From: "Mark Strickland" <mstrickland@drugstore.com>
To: <oracle-l@freelists.org>
X-OriginalArrivalTime: 14 Oct 2004 19:24:02.0609 (UTC) FILETIME=[5CF0A210:01C4B223]
X-archive-position: 11106
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: mstrickland@drugstore.com
Precedence: normal
Reply-To: mstrickland@drugstore.com
X-list: oracle-l
X-Virus-Scanned: by amavisd-new at freelists.org

This probably has an easy answer that I should have thought of already,
and I'll submit myself to the ridicule if so, but I'm scratching my
head.  I copied a schema from a 9.2.0.4 database on one Linux server to
a 9.2.0.5 database on another Linux server.  The schema has a stored
procedure that selects over a database link called "refresh".  The query
"select table_name from user_tables@refresh" works find in the source
database, but I get ORA-02019 when I do it in the target database.  If I
suffix the db_link with ".world", it works in the target database.  The
database link definitions are identical, global_names is set to false in
both databases and names.default_domain is not set for both.  Another
curious thing.  When I create a test database link in the target
database called "test" using the same definition as "refresh", the
db_link in dba_db_links is called "TEST.LOCALDOMAIN".  I can't figure
out where that is coming from.

Thanks!
Mark Strickland
Seattle, WA
--
http://www.freelists.org/webpage/oracle-l

