Sir, I have table IMPCDTCP
and pass wrong update command just now by mistake
the command was:-
Update IMPCDTCP
Set Rate='4.69',billno='0055'
which has been updated
(22962 row(s) affected)
Is there any way to do it reverse
Please help
Microsoft SQL Server 2005
Last Comment
Guy Hengel [angelIII / a3]
8/22/2022 - Mon
Guy Hengel [angelIII / a3]
unless you had a BEGIN TRANSACTION before that UPDATE, you have to RESTORE your database.
if your db is in full recovery mode:
* issue a tlog backup
* get your last full backup and all tlog backups since that last full backup
* restore to the point in time before your update.
if your db is in simple recovery mode:
* restore the last full backup.
Mehram
ASKER
The last back up is three days old during the that period number of editing and new update passed.
Please guide my on full recovery mode
how to check this mode and step to check time and update
Guy Hengel [angelIII / a3]
check out the database properties, recovery model.
no backup mode state, I was taking backup manually after deattaching database I copy and past in different location the las copy past use on 7/4/2008
Guy Hengel [angelIII / a3]
as your db is in simple recovery mode, you can only do a full restore of the last full backup.
you might try some third-party tools like lumigent logexplorer, but you might already have overwritten most of the tlog file, especially with updates like yours...
if your db is in full recovery mode:
* issue a tlog backup
* get your last full backup and all tlog backups since that last full backup
* restore to the point in time before your update.
if your db is in simple recovery mode:
* restore the last full backup.