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

Home -> Community -> Usenet -> c.d.o.misc -> checking a database link in PL/SQL

checking a database link in PL/SQL

From: Tim <tim.bedford_at_ttplabtech.com>
Date: 6 Dec 2001 04:57:11 -0800
Message-ID: <daf29ce0.0112060457.50e830c9@posting.google.com>


Hi,

I have an application that generates data, clients want that data entered into a table on their system via a database link (they don't want to do anything other than give us a valid account to use). If the link is lost the data is to be written to a local copy of the table and copied across when the link is back up (and then deleted from the local table).

I've got a crude PL/SQL trigger that does this ok when the link is up but fails when the link is lost. Is there an elegant way of checking whether a link is good or not?

thanks

Tim Received on Thu Dec 06 2001 - 06:57:11 CST

Original text of this message

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