Click here to Skip to main content
11,489,693 members (72,275 online)
Rate this: bad
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
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,
FROM   sys.dm_exec_requests req
       CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS sqltext

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 535
1 OriginalGriff 223
2 Andy Lanng 193
3 Maciej Los 190
4 _duDE_ 141
0 Sergey Alexandrovich Kryukov 9,488
1 OriginalGriff 8,425
2 Sascha Lefèvre 3,344
3 Maciej Los 3,066
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 21 Feb 2013
Copyright © CodeProject, 1999-2015
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