SQL Converter · T-SQL → MySQL
Convert T-SQL SQL to MySQL
SQL Server to MySQL swaps TOP for LIMIT, [brackets] for `backticks`, ISNULL for IFNULL and GETDATE() for NOW(). A mechanical formatter only re-indents — it won’t rewrite dialect-specific syntax. The AI converter in the app translates the query and the table below shows exactly what changes.
T-SQL — source
MySQL — converted
What changes from T-SQL to MySQL
| T-SQL | MySQL | Why |
|---|---|---|
| TOP 15 | LIMIT 15 | Row limiting moves from a leading TOP to a trailing LIMIT. |
| [dbo].[Customers] | `Customers` | MySQL has no schema-owner brackets; use backticks. |
| ISNULL / GETDATE() | IFNULL / NOW() | T-SQL-only functions map to their MySQL equivalents. |