# MySQL vs. SQL Server: Functions

The same everyday jobs in MySQL and SQL Server on one page, and the three differences most likely to give a wrong answer: DATEDIFF's order, CONCAT with NULL, and whole-number division. From the blog post \[MySQL vs. SQL Server: the same jobs, different functions\](/blog/mysql-vs-sql-server-functions).

![Cheat sheet: MySQL vs. SQL Server: Functions](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/a21492b9a32a4896bf615fbd056f3618.webp)

- Category: SQL
- Level: Apprentice
- Tags: mysql, sql, SQL Server, t-sql
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/mysql-vs-sql-server-functions-cheat-sheet
