arianym
asked on
Shutdown to database oracle with a script.bat
I am working with Database Oracle. I wish to do a shutdown to database oracle with a script.
On Unix the script run, but when I try to run it on DOS, the script not run.
svrmgrl << EOF --> << was unexpected at this time
connect internal;
shutdown immediate;
EOF
So, I want to know, how can I run this script (or something like that) on NT???
If I need change something, please tell me, I need any help
On Unix the script run, but when I try to run it on DOS, the script not run.
svrmgrl << EOF --> << was unexpected at this time
connect internal;
shutdown immediate;
EOF
So, I want to know, how can I run this script (or something like that) on NT???
If I need change something, please tell me, I need any help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can simply stop the oracle-services in a dos-batch. then the oracle-db is shutting down
net stop youroracleservice
net stop youroracleservice
--
mrdtn