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;

URL: http://stackoverflow.com/questions/7581584/simulate-mysql-queries

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.