DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: startup and shutdown scripts(.exe)

  1. #1
    Join Date
    Nov 2001
    Posts
    110

    startup and shutdown scripts(.exe)

    can someone show me how to write a script in windows(.exe file) so that I can startup and shut down my sun databases just by clicking on it(.exe file).
    Thanks

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    well that would be an executable - not a script.

    Just write a script to connect to your database and startup - this assumes you are on 9i and using an spfile and you have remote authentication set up and the listener is running on the remote server

    you script would contain


    sqlplus /nolog
    connect user/password@xxx as sysdba
    startup
    exit

    must surely be easier to telnet to the machine and start it up from there

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width