Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
how to rollback delete query in sql 2008?
please help urgently
Posted
Comments
Thava Rajan 12-Jun-14 9:37am    
use
Begin trahsaction and rollback transaction

1 solution

simple use your delete statement in between the
SQL
BEGIN TRANSACTION
    'YOUR DELETE STATEMENT HERE '
ROLLBACK TRANSACTION


if you want to retrive a deleted record then follow this link[^]
 
Share this answer
 
v2
Comments
rahulDer 12-Jun-14 9:45am    
what if i have already performed delete query without Begin n ENd ?
Thava Rajan 12-Jun-14 9:54am    
solution updated

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900