The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
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 07-01-2009
Dan27 Dan27 is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 1
Creating a .sh script to execute an SQL file

Hello

I'm hoping someone may be able to help. I'm absolutely brand new to these shell scripts and have tried to bash bits together from the little learnt but my final script still doesn't work. Sorry if something similar is already posted but couldn't find anything existing close enough to help me with what I need.

The .sh is running from an external application and displays the following error meesage Unable to execute 'filepath' 2>&1. Does this error message relate to anything specific or anything anyone is aware of?

All I require the .sh to do is execute 1 SQL file called unique.sql and the SQL code does everything else I need but still been unable to get it to work.

Thanks in advance