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 -> Q: How to check if database is up using Pro*C

Q: How to check if database is up using Pro*C

From: Gary Assa <gsa_at_li.net>
Date: 1996/11/07
Message-ID: <55t2d2$iob@linet01.li.net>#1/1

I am writing a Pro*C program that executes from a web page that has many user enterable fields. However if the database is down (due to backups or some other reason) I don't want to make the people spend time entering all these fields then have "ORACLE ERROR, etc" pop up. How can I quickly check that the database is up before jumping to the web page??  

I need the C code, not an idea.

-- 
=========================================================
            http://www.li.net/~gsa/index.html
This is my signature file, not part of this mail message.
Received on Thu Nov 07 1996 - 00:00:00 CST

Original text of this message

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