i have a script that connects to the oracle database and executes the query statements. it works fine and i would like to add some message to check if the connection to oracle is not successful.
This topic has been covered umpteen times in these forums. Use the search function, or look into the links given at the lower left of this page under "More UNIX and Linux Forum Topics You Might Find Helpful".