I am Shashank Srivastava currently working as a SQL DBA for a client that has one of the best database environment in the world. I have two years of experience and just wanted to learn and share through the blog. This blog is just to share my knowledge with all the people and learn from them.
I have completed Microsoft Certified Technology Specialist -MS SQL SERVER 2005 , Microsoft Certified Technology Specialist -MS SQL SERVER 2008 and ITIL v3 Certified IT professional certifications.
Thursday, September 27, 2012
How to check status of SQL services using TSQL
To check the SQL Server services or any other service status using SSMS you can
execute the extended stored procedure xp_servicecontrol. EXEC
xp_servicecontrol N'Querystat|Start|Stop’,N'Service Name' E.g :-