Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Getting sysdate across a DB link
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
![]() |
![]() |