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: Getting sysdate across a DB link

Re: Getting sysdate across a DB link

From: Paul Moore <gustav_at_morpheus.demon.co.uk>
Date: Sun, 02 Mar 2003 17:28:50 +0000
Message-ID: <7kbhad9p.fsf@morpheus.demon.co.uk>


Galen Boyer <galenboyer_at_hotpop.com> writes:

> On 28 Feb 2003, paul.moore_at_atosorigin.com wrote:
>
>> As a simplified version of my problem, suppose I want to calculate the
>> clock difference between the local and remote machines. The "obvious"
>> approach is
>>
>> select l.sysdate - r.sysdate from dual l, dual_at_remote_db r;
>>
>> This doesn't work - it gives me an error "ORA-01747: invalid
>> user.table.column, table.column, or column specification" (presumably
>> because SYSDATE is a date function, not a column).
>
> Does your database link allow you access to any other objects, ie, are
> you sure that retrieving remote sysdate is the issue?

Yes, other objects are fine.

Paul.

-- 
This signature intentionally left blank
Received on Sun Mar 02 2003 - 11:28:50 CST

Original text of this message

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