The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-20-2008
Swapna173 Swapna173 is offline
Registered User
  
 

Join Date: May 2008
Posts: 23
SQL Connection check though Scripting

Hi Guys,

I wanted to check the sql connection through scripting if it is avilable then proceed else stop the process

I was trying
sqlplus -L username/passwd@sid
if this is not sucess it gives non-zero.

but if it is success it is going into the sqlplus prompt.

So how could i get out of it and check the status.