title: Executing oracle query to database at other server via shell script
body: <p>I have an image server (A) and a database server (B). I have to process files in image server via a shell script after doing analysing query result from B. </p>
  
  <p>I need help in connecting writing a script for connecting to server B database and executing the query and deliver the result in a variable. The script will run at server A. Oracle is used as database</p>