Posted on 2006-06-29
Is it possible to send the output from a isql query to a variable in a shell script?
isql -b -Usa -P******<<-EOF > $variable
select sum(AMOUNT) from CHARGE_INCURRED where BORROWER_ID = 0158258
I'm fairly new to shell scripting and if I were to do this,it would be brilliant.
I look forward to your replies!