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 4: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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 447
1 OriginalGriff 430
2 Shai Vashdi 250
3 Emre Ataseven 165
4 Abhinav S 128
0 Sergey Alexandrovich Kryukov 8,894
1 OriginalGriff 5,200
2 Peter Leow 3,955
3 Maciej Los 3,535
4 Abhinav S 3,208


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