0

I have accidentally executed an update query in SQL, I need to recover the changes. No backup has taken for the DB. After the update query I have not executed any subsequent queries.

Hardy
  • 629
  • 3
  • 8
  • 20

2 Answers2

0

I am assuming Microsoft SQL Server. With no backup, and outside of a transaction I am afraid you are out of luck.

Chris Kooken
  • 32,730
  • 15
  • 85
  • 123
0

It may be worth checking out the transactional logs referred to in this article. I have not tried this personally, but this is the angle that I would look into if I was in the same position.

It may also be worth looking at this stack overflow answer.

Community
  • 1
  • 1
ChrisProsser
  • 12,598
  • 6
  • 35
  • 44