September 3, 2008 at 12:51 pm
I am using SQL Serer 2000 and want to know how to recover deleted records from a table / transaction log.
Unfortunately one of my team member has accidentally deleted some records of an important table.
Kindly suggest appropriate solution for the same.
September 3, 2008 at 12:55 pm
Go to redgate.com. If memory serves, they have a free tool that will read a SQL Server 2000 transaction log file (if your database is using the full or bulk-logged recovery model).
😎
September 3, 2008 at 1:03 pm
Restore most recent backup under a different DB name. Bilk import the records from that restored table.
Otherwise you need a log explorer like lynn suggested. You might need both actually, but that's a great start.
October 12, 2008 at 12:42 pm
Hi friends I am using MSSQL7 , One of my team member has deleted some records. This records are to be recovered now, I dont have any backup. PLEASE HELP ME AS how can I get these delected records back. I might Lose my job.. PLEASE HELP ME.
October 12, 2008 at 1:07 pm
Check out this tool, it might be your only hope!
October 12, 2008 at 1:20 pm
The first thing that I will recommend is that you go and explain to your boss what has happened. Hiding mistakes makes them worse, and there's a good chance that you will not be able to get the data back.
What recovery model is the database in? I assume, with no backups of any form, it's in simple recovery.
How long ago were the rows deleted?
You can try RedGate's log explorer (as Ninja suggested) or one of the other log recovery tools. I don't know which ones can read SQL 7. If the DB is in simple recovery, then it's quite likely that the log records for the delete have been discarded already. You can give it a try, but no promises.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 12, 2008 at 7:23 pm
Good resume
Good backup
you only need one.
Get Log Rescue, I think it works on v7 as well. Read the logs. Then go get backups setup.
October 12, 2008 at 8:49 pm
Your toast... sorry...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 15, 2008 at 3:15 am
vicky_j77 (10/12/2008)
I dont have any backup.
Oh dear, oh dear and INDEED oh DEAR!!!
I have nothing to offer except what's already been posted. Sorry.
Assuming the data is lost, your best bet is to be completely open and honest about what happened and why - and to immediately do a full review of your databases and make sure there aren't any more important data lying around with no backup. Mistakes can be forgiven as long as we learn from them. But if something like this happens again next week, it's going to be a lot harder to explain, isn't it?
Vegard Hagen
Norwegian DBA, occasional blogger and generally a nice guy who believes the world is big enough for all of us.
@vegard_hagen on Twitter
Blog: Vegards corner (No actual SQL stuff here - havent found my niche yet. Maybe some day...)
November 8, 2008 at 3:06 pm
This thread really helped me today!! I recovered approximately 5000 records using Red Gate SQL Rescue. It really helps and a great software. Hats off!
Good one! Anybody can try using this to recover records deleted from tables in SQL Server 2000.
Just curious to know if there is anything for SQL Server 2005?
November 8, 2008 at 3:31 pm
Good one! Anybody can try using this to recover records deleted from tables in SQL Server 2000.
Providing the log records are there. Backups are still (and probable always will be) the recommended way to get back data that's been deleted. Snapshots can do the same on SQL 2005
Try Apex's log reader for SQL 2005. It's not free.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 10, 2008 at 6:47 pm
Thank you!!
November 22, 2011 at 4:01 am
In sql server 2005 , you can recover the deleted records as mentioned in this article.
http://raresql.com/2011/10/22/how-to-recover-deleted-data-from-sql-sever/
MI
http://raresql.com
November 22, 2011 at 4:20 am
This articale can help you to recover the deleted data from sql server 2005 and above.
http://raresql.com/2011/10/22/how-to-recover-deleted-data-from-sql-sever/
MI
http://raresql.com
November 22, 2011 at 6:24 am
mimran18 (11/22/2011)
http://raresql.com/2011/10/22/how-to-recover-deleted-data-from-sql-sever/%5B/quote%5D
Absolutely incredible, Muhammad. I'm definitely going to dig into that. I didn't see anything in it about the BLOB datatypes (of course, just did a quick scan and not a deep dive on your article). Do you have something for that as well.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 15 posts - 1 through 15 (of 19 total)
You must be logged in to reply to this topic. Login to reply