Babelfish for PostgreSQL adds T-SQL syntax, data types, functions, and SQL Server wire-protocol compatibility to PostgreSQL. It supports a substantial subset of Microsoft T-SQL, but it is not Microsoft SQL Server and this playground is not affiliated with Microsoft.
Use this playground to test common migration queries including IDENTITY columns, INSERT statements, TOP queries, joins, grouping, and aggregates. Compatibility is not complete: MERGE and many enterprise, server-administration, security, replication, and SQL Server Agent features are unavailable.
This page sends your script to a hosted, network-isolated Babelfish 5.4.0 runtime. Every Run executes the whole editor contents against a fresh database, then discards its database state and files. It does not run the database in your browser and it never connects to your own database.
Available output: Native sqlcmd tables, PRINT output, messages, and errors. The schema panel shows a bounded catalogue captured after successful execution. Large output may be truncated, and package installation, remote network access, persistent storage, and external database connections are not supported.