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: Remote database server problem!

Re: Remote database server problem!

From: Arjan van Bentem <avbentem_at_DONT-YOU-DARE-cable.a2000.nl>
Date: Wed, 22 Jul 1998 20:40:59 +0200
Message-ID: <6p5bni$mqr$1@newton.a2000.nl>


I use a local function like:

  create or replace function TestConnection return boolean as     v_Dummy date;
  begin
    select sysdate
    into v_Dummy
    from dual_at_my_dblink;
    return true;
  exception
    when others
      return false;
  end TestConnection;

Note that this functions returns your local sysdate, not the sysdate of the remote database. However, it uses dual_at_my_dblink, which surely forces a connection to the remote database to be made.

Arjan. Received on Wed Jul 22 1998 - 13:40:59 CDT

Original text of this message

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