Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to recover a SQL Server database after a crash?

<p>This situation happens on windows7 ultimate due to either intermittent power supply to the system or improper shut down of the system. After booting up the system, the sever could not be accessed.</p>

user-image
Question added by Luqman Taiwo , Senior Business Analyst – Sub-Sahara Africa , Reckitt
Date Posted: 2014/10/24
LEEZA DAS
by LEEZA DAS , Service Engineer-RIMS , microland

Use<database>SELECT execquery.last_execution_time AS[Date Time], execsql.text AS[Script]FROM sys.dm_exec_query_stats AS execquery CROSSAPPLY sys.dm_exec_sql_text(execquery.sql_handle)AS execsql ORDERBY execquery.last_execution_time DESC

More Questions Like This