Is Oracle server alive? [message #62132] |
Tue, 29 June 2004 03:25 |
Sheila
Messages: 28 Registered: May 1998
|
Junior Member |
|
|
I need to know through VC++ code, if oracle server is alive or connection of client to server is Okay?
Any suggession would be appreciated.
Regards
|
|
|
Re: Is Oracle server alive? [message #62139 is a reply to message #62132] |
Tue, 29 June 2004 05:58 |
Frank Naude
Messages: 4580 Registered: April 1998
|
Senior Member |
|
|
Hi,
I don't know VC++, so I cannot help with the syntax. Nevertheless, here is what you need to do:
Ping the server to see it is up. If so, try to connect to the DB on the server. If the connection is successful, it is up, else it is down.
Best regards.
Frank
|
|
|