can anyone help me in wiring a shell script to acess sqlplus . In sqlplus i need to run a sql script and mail the result back to a mail id.
example
ls dir ----> has abc.sql
i go to sqlplus and run query by ==> **sqlplus username/password@instance @abc**
I want to mail the result to [email protected]