WordPress and Stored Procedures
Those of us who despise having MySql (or any other SQL) queries with multi-level (and other ugly variations) of sub-queries in DB interaction code go to some lengths to optimize the said interactions. Occasionally, a stored procedure is the better of available options to achieve an optimal result (see a …