Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: sqlplus variable
Do you have a semicolon ":" before the export ? You need one. OR put the export on the next line.
At 04:01 AM Tuesday, Zelli, Brian wrote:
>Hello all,
>
>I've been trying to script a backup that uses sqlplus /nolog as a
>variable. I create the variable as:
>SQL_UTILITY='sqlplus /nolog' export SQL_UTILITY
>
>in my bash script but when I execute it I get:
>
Hemant K Chitale
http://web.singnet.com.sg/~hkchital
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Oct 23 2006 - 22:06:08 CDT
![]() |
![]() |