Free Online MS SQL Server 2022 Playground
Current database engine: MS SQL Server 2022 (mssql2022)
This page runs Microsoft SQL Server 2022 (16.0, Express Edition on Linux) in a clean database. SQL Server 2022 added many T-SQL functions: GREATEST() and LEAST(), DATE_BUCKET(), DATETRUNC(), GENERATE_SERIES(), IS [NOT] DISTINCT FROM, the WINDOW clause, and JSON_OBJECT() and JSON_ARRAY().
Sample data on the same version: SQL Server 2022 with AdventureWorks. Other versions: SQL Server 2019 and 2025.
NEW Now embed mode is available: put an interactive SQL editor on any web page with one script tag.
SQLize is a browser-based MS SQL Server 2022 SQL editor and query runner for fast testing, debugging, formatting, and sharing. It is useful for interview tasks, migration checks, analytics validation, and learning SQL in a real execution environment.
Developers, students and data analysts from more than 100 countries, most of all India, the United States, Russia, Brazil, Italy, Poland and Vietnam, use SQLize to run MS SQL Server 2022 queries online without installing a database server. A shareable link turns any query into a reproducible example for a colleague, a teacher or a question on Stack Overflow.