title: Reverse an sql statement?
body: <p>I have an sql file with alot of create, alterings and modifies to a database. If I need to back out at some point (up to a day maybe) after executing the sql script, is there an easy way to do that? For example, is there any tool to read an sql script and produce a 'rollback' script from it?</p>
  
  <p>I am using sqlyog aswell, in case there happens to be any such features built-in (I havn't found any)</p>