I\'m writing a perl script in which I\'ve to shutdown my mssql server ,do some operation and then I\'ve to restart it.I know 1 way is to use netstat to stopt th
There's a SQL command called SHUTDOWN - more info here
SHUTDOWN