Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: shell execution based on sql select results...
You can store the output of the Sql statement to a variable, then use this
variable for your evaluation.
Ex. var=$(sqlplus -s Select.....)
if var
then
exit
fi
Good Luck
Mike
Received on Sun Aug 30 1998 - 22:01:27 CDT
![]() |
![]() |