Search Results

Search: Posts Made By: renichols
23,009
Posted By renichols
Sorry, I had a DUH moment. I just did this: ...
Sorry, I had a DUH moment.

I just did this:

sqlplus "sys/$PSWD@$AUXILIARY_SID as sysdba" @shutdown.sql

I think this will work

THANKS!
23,009
Posted By renichols
Thanks. I never thought of somthing so simple. ...
Thanks. I never thought of somthing so simple. One more thing. I am trying to pass the pswd as a parameter so that it doesn't so up during ps -ef as follows:


PSWD=***** (where stars are my...
23,009
Posted By renichols
SQLPLUS in script
I have a script that passes a parameter to the sqlplus command that looks like the following:


#!/bin/sh

TARGET_SID=$1
AUXILIARY_SID=$2
sqlplus 'sys@$AUXILIARY_SID as sysdba' @shutdown.sql
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy