Copyright (C) 2011 Richard L. Buckmaster. All Rights Reserved.
This article is written for those who are experienced Microsoft SQLServer programmers trying to make the transition to writing MySQL stored procedures and user defined functions.
MySQL is a very popular and widely used RDBMS because it is fairly full featured and the Community Edition is free. If it is the only RDBMS you have ever used then this article won’t be of much help to you. However, if you are trying to make the transition from a SQLServer world to MySQL you will likely encounter some frustration.
The differences between T-SQL and MySQL stored program languages are mostly syntactic and can be easily learned. The frustration comes from a few MySQL functional limitations, potentially dangerous peculiarities, and language nuances. The language differences can be learned. The functional limitations will likely drive you crazy until you’ve created your own work around solutions. Finally, if you are not aware of several major peculiarities of MySQL, you may encounter data corruption or loss.
Continue reading →