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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Getting sysdate across a DB link

Re: Getting sysdate across a DB link

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Mon, 26 Jan 2004 08:54:25 -0800
Message-ID: <F001.005DE26B.20040126085425@fatcity.com>


Create procedure get_date on the remote node and invoke it over the DB link.

On 01/26/2004 11:14:26 AM, Ashish Sahasrabudhe wrote:
> I'm trying to get the value of SYSDATE on a remote server. I have a
> database link to the server, but I'm not sure how to force SYSDATE to
> be evaluated on the remote machine.
>
> Following query gives same results, both dates are same.
>
> select sysdate local_date, remote_date from ( select sysdate
> remote_date
> from dual_at_remote_db)
>
> How can this be done?
>
> Thanks
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: mladen_at_wangtrading.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Mon Jan 26 2004 - 10:54:25 CST

Original text of this message

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