There are alot of mysql macro files out there, but mine is the simplest and neatest