Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

How to recover updated data in sql server Expand / Collapse
Author
Message
Posted Tuesday, October 19, 2010 4:41 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, August 12, 2012 12:06 AM
Points: 13, Visits: 69
Hi,

how to recover the updated datas in sql server 2005? Transaction block is not used at the time of Update statement.

Thanks & Regards,
Senthil Varadharajan.
Post #1006846
Posted Tuesday, October 19, 2010 5:23 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 5:05 AM
Points: 1,618, Visits: 20,899
Restoring from the last transaction log backup is an option

Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
Post #1006863
Posted Tuesday, October 19, 2010 5:39 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 4:49 PM
Points: 37,722, Visits: 29,977
Restore from backup.

Restore the last full backup as a new DB. Restore transaction log backups up until the time of the update.
Bring the new DB online
Copy the data back to the original DB.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1006870
Posted Tuesday, October 19, 2010 5:50 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, April 02, 2013 1:48 AM
Points: 1,252, Visits: 3,367
Can you describe your problem more what happened and what are you trying to do ...!!! However if you have backup you can restore it ...!

============================================================
SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Post #1006877
Posted Tuesday, October 19, 2010 8:00 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, August 12, 2012 12:06 AM
Points: 13, Visits: 69
Hi Adiga,

Can you explain me how to restore from the transaction log.

Thnks,
Senthil Varadharajan
Post #1006973
Posted Tuesday, October 19, 2010 8:06 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, August 12, 2012 12:06 AM
Points: 13, Visits: 69
Hi GilaMonster,

Can you explain me how to restore from the transaction log.

Thnks,
Senthil Varadharajan
Post #1006984
Posted Tuesday, October 19, 2010 8:10 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, August 12, 2012 12:06 AM
Points: 13, Visits: 69
Hi Dugi,

While running the update statement, missed to select the where condition. So i need to restore data using the transaction logs. Can i know the process to retrive it.

Thnks,
Senthil Varadharajan.
Post #1006988
Posted Tuesday, October 19, 2010 9:23 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, April 02, 2013 1:48 AM
Points: 1,252, Visits: 3,367
Senthil Varadharajan (10/19/2010)
Hi Dugi,

While running the update statement, missed to select the where condition. So i need to restore data using the transaction logs. Can i know the process to retrive it.

Thnks,
Senthil Varadharajan.


Well, the GilaMonster said how to do that from the transaction log...!? Tell us if it helpful for you!?


============================================================
SELECT YOUR PROBLEM FROM SSC.com WHERE PROBLEM DESCRIPTION =
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Post #1007060
Posted Tuesday, October 19, 2010 11:22 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 4:49 PM
Points: 37,722, Visits: 29,977
Senthil Varadharajan (10/19/2010)
Hi GilaMonster,

Can you explain me how to restore from the transaction log.


I explained to you how to restore from backups, including a transaction log backup.

If you mean without a backup, you don't. You can buy a tool that might allow you to do that, under certain circumstances, but said tool retails for over $1000, so it's not exactly a cheap fix and it won't always work.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1007173
Posted Tuesday, October 19, 2010 11:19 PM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 5:05 AM
Points: 1,618, Visits: 20,899
Senthil Varadharajan (10/19/2010)
Hi Adiga,

Can you explain me how to restore from the transaction log.

Thnks,
Senthil Varadharajan


Hi Senthil,

This KB article explains how to restore from transaction log backups.


Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
Post #1007460
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse