Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Can I script to stop windows/SQL Services?

    you could try using xp_cmdshell (if it is enabled)

    eg

    xp_cmdshell 'net stop servicename'

    and

    xp_cmdshell 'net start servicename'

    there is probably also some sample code utilising OLE around as well.

Viewing post 1 (of 1 total)