|
Try this...
for i in `cat textfile`
do
sh <dbscript-name> "$line"
done
coding for dbscript:
--------------------
sqlplus -s '<user-name>/<password>' > /dev/null << EOF
exec <your own DB process command>('$1');
commit;
EOF
Last edited by jayan_jay; 07-01-2009 at 07:11 AM..
|