Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Luqman Taiwo , Senior Business Analyst – Sub-Sahara Africa , Reckitt
Date de publication: 2014/10/24
LEEZA DAS
par 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