Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-Server-2008
I was performing a migration of datbase using a particular package in sql server 2008.
But the package was stuck so I killed the package and even restarted the server .
After restarting the package the database is now in the recovery mode(simple).
How do i bring the database back in the non recovery mode with all my previous data
before killing the package.
Posted 9-Dec-12 5:29am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

If sqlserver process is killed while running some heavy operations, the database usually goes InRecovery mode. The is an auto recovery process. The database gets in normal mode after a while. However, you can see progress of the auto recovery proces by running the following statements.
SELECT sqltext.TEXT,
       req.session_id,
       req.status,
       req.command,
       req.cpu_time,
       req.total_elapsed_time,
       req.percent_complete
FROM   sys.dm_exec_requests req
       CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS sqltext
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 21 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100