Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ??? Again: run unix script on NT
Give full path of sqlplus executable..... eg.
BAD_LOGIN=`d:/orant/sqlplus -s ${SQLUSER}/${PW}@${DB}
HTH,
Rajesh
-----Original Message-----
Sent: Thursday, May 10, 2001 2:36 AM
To: Multiple recipients of list ORACLE-L
Thank you for all those who answered my question.
I just installed uwin. I'm running a script upgrade_db.ksh. In the script, there is someting like:
function check_login {
####################################################
# Login to the database using the variables provided
####################################################
BAD_LOGIN=`sqlplus -s ${SQLUSER}/${PW}@${DB} <<-EOF | grep ERROR
exit EOF
.................
I run this in uwin window, and got this: upgrade_db.ksh[285]: check_login: line 7: sqlplus: not found
I need to run sqlplus inside the script and uwin doesn't recognize this. (I do have Oracle server installed on NT). Any idea???
Thanks a lot!
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Leslie Lu INET: leslie_y_lu_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rajesh Dayal INET: Rajesh_at_ohitelecom.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu May 10 2001 - 00:11:36 CDT