![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I want to test in an application if an Oracle DB is available and a login is successfull. Now I'm looking for a batch script which I can run under WinNT. It should proceed a logon at the database (which is installed on the same system) and logoff again and then give back a return value which indicates if the process was successfull. I'm not very familiar with Oracle and its build-in tools so please excuse if this question seems stupid. Can anybody give me a hint how to realize this? Thanks, Jens |
#3
| |||
| |||
|
|
Jens Riedel <JensRie (AT) gmx (DOT) de> wrote Hello, I want to test in an application if an Oracle DB is available and a login is successfull. Now I'm looking for a batch script which I can run under WinNT. It should proceed a logon at the database (which is installed on the same system) and logoff again and then give back a return value which indicates if the process was successfull. I'm not very familiar with Oracle and its build-in tools so please excuse if this question seems stupid. Can anybody give me a hint how to realize this? Thanks, Jens Oracle Enterprise Manager (comes free of charge with Oracle) has tools to check for database availability. The overhead for your proposed solution is usually very high. Sybrand Bakker Senior Oracle DBA |
#4
| |||
| |||
|
|
Hello, I want to test in an application if an Oracle DB is available and a login is successfull. Now I'm looking for a batch script which I can run under WinNT. It should proceed a logon at the database (which is installed on the same system) and logoff again and then give back a return value which indicates if the process was successfull. I'm not very familiar with Oracle and its build-in tools so please excuse if this question seems stupid. Can anybody give me a hint how to realize this? Thanks, Jens |
#5
| |||
| |||
|
|
Hello, I want to test in an application if an Oracle DB is available and a login is successfull. Now I'm looking for a batch script which I can run under WinNT. It should proceed a logon at the database (which is installed on the same system) and logoff again and then give back a return value which indicates if the process was successfull. I'm not very familiar with Oracle and its build-in tools so please excuse if this question seems stupid. Can anybody give me a hint how to realize this? Thanks, Jens |
![]() |
| Thread Tools | |
| Display Modes | |
| |