“I happen to use stored routines with MySQL. In fact, my open source project common_schema heavily utilizes them. DBA-wise, I think they provide with a lot of power (alas, the ANSI:SQL 2003 syntax feels more like COBOL than a sane programming language, which is why I use QueryScript instead).
However I wish to discuss the use of stored routines as integral part of your application code, which I discourage.” / Shlomi Noach.
ב-Why delegating code to MySQL Stored Routines is poor engineering practice | code.openark.org.