|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by RAVIKUMARDHANEKULA in Unix Systems Programming, SQL Query Syntax
Hi,
I have data in my unix text file something like this.
adams
robert
ahmed
gibbs
I want to use this data line by line as input to an sql query which i run by connecting to an oracle database from shell.
If you have code for similar scenario , please ehlp.
I want the output of the sql query to be updated into a text fiel so that i can mail the same as a report.
output expected :
Code:
Name subject marks
adams maths 79
Robert Sceience 67
gibbs maths 81
Thanks in advance
20090824-EE-VQP-74 - Hierarchy / EE_QW_4_20070622