This was written in SQL Server.

MySQL was being a pain, we all know SQL Server, and its free.