The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 02-07-2007
happyv happyv is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 209
how to retrieve sql result to unix....

Hi,

i would like to retrieve seql result and write it into unix text file like "result.txt"

In unix, normally, I type "sql" and get into sql,then type "select....." to run and get the result....then copy and paste into result.txt

any possible way to write a script to run it automatically?

Thanks all!!!!