| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Returning Oracle Variable to the Shell
[Franklyn] wrote in message ...
>Problem: It does not populate the shell-variable $RUN_DATE from
>the database as I would expect. I want to get a value from the
>database and use it within my shell script. I'm missing something
>obvious here. (can this be done??).
>
A child process cannot change its parent's environment. Get Oracle to
output the variable's value, and the shell can read it with a pipe or
backticks.
Received on Wed Apr 18 2001 - 00:22:02 CDT
![]() |
![]() |