Date: 12/14/06 (MySQL Communtiy) Keywords: mysql, sql
I have a cluttered query to get the next week-day (minus weekends) which I'd like to place in a function to be used over and over. Is there a way to write query snippets as a custom function for MySQL? (something like SELECT NEWFUNCTION();)
Source: http://community.livejournal.com/mysql/107585.html