How to cancel a delete command without using a transaction

How to cancel a delete command without using a transaction? if we cannot, then what is the difference between Truncate and delete?

+5
source share
3 answers

You cannot roll back in this case, but when you use the Full recovery model , you can return your database until the time you issue the delete command.

+3
source

ROLLBACK . , , COMMIT ROLLBACK. BEGIN TRANSACTION...COMMIT / ROLLBACK. , IMPLICIT_TRANSACTION.

+2

DELETE TRUNCATE ( ) , , . / .

TRUNCATE DELETE. TRUNCATE , DELETE . TRUNCATE , TRUNCATE , DELETE, .

+2

All Articles