RE: Jesus! I almost got killed today!
My I suggest that you mysql guys should look at postgres. Writing procedures in php, perl, plsql, is very cool. I switched years ago, and now I can't live without procs, triggers, sequences, and views. I have one database with 3+ million rows in it that lives though 60k inserts a day.