SQL Service Details – AumTechHub.Com https://aumtechhub.com Just share it!!! Tue, 23 Nov 2021 01:57:25 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.2 179596041 How to get SQL Service details? https://aumtechhub.com/how-to-get-sql-service-details/?utm_source=rss&utm_medium=rss&utm_campaign=how-to-get-sql-service-details Tue, 25 Aug 2020 00:39:32 +0000 http://aumtechhub.com/?p=12 Run the following query under context of any system or user database to get the sql server database engine account and the account for sql server agent.

select
[servicename]
,[startup_type]
,[startup_type_desc]
,[status]
,[status_desc]
,[process_id]
,[last_startup_time]
,[service_account]
,[filename]
,[is_clustered]
,[cluster_nodename]
from [sys].[dm_server_services]

]]>
12