Do you have any script to find out who stopped and restarted sql server ?
Please let me know if you have.
Thanks in advance.
This commands and if we want more information , you have to event viewer .SELECT sqlserver_start_time FROM sys.dm_os_sys_info; SELECT login_time FROM sys.dm_exec_sessions WHERE session_id = 1; select start_time from sys.traces where is_default = 1 SELECT crdate FROM sysdatabases WHERE name='tempdb' SELECT create_date FROM sys.databases WHERE name = 'tempdb'
Sign up for STechies
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.