Hi I have accidentally deleted one row from one of my table in MySQL database. Is there anyway i can get that row back? And no, i do not have a backup. Thanx
Rollback is a process of restoring database' previous state. However, the checkpoint has to be set prior to the change in the database. Commit is a process of committing a change in the database. Once the database operation has been commited. It is not possible to start rollback process.
rollback is an operation which returns the database to some previous state. u may be fire like following SQLquery BEGIN TRANSACTION [transaction_name] ... SQL Statement(s) SAVE TRANSACTION savepoint_name SQL Statement(s) ROLLBACK TRANSACTION savepoint_name
So suppose if I m making a payment transfer system. I want mysql to only rollback if all the transaction is NOT completed else do a COMMIT. How do I query this in mysql?