MySQL - Simulate MySQL Queries

/ Published in: MySQL
Save to your folder(s)

You could start a transaction before running your queries and then rollback after running them. Note that to do this you'll require InnoDB or XtraDb tables (won't work on MyISAM).

Copy this code and paste it in your HTML
  1. DELETE FROM my_table WHERE id=101;


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.