Back
Microsoft SQL Server Wrapper

Microsoft SQL Server Wrapper

Overview

Microsoft SQL Server is a proprietary relational database management system developed by Microsoft. It's used by enterprises worldwide for transactional workloads, analytics, and mission-critical applications, with SQL Server 2025 adding built-in AI capabilities, vector search, and native JSON support.

The SQL Server Wrapper brings your SQL Server tables and views into Postgres as queryable foreign tables. Query data with plain SQL, use subqueries in table definitions, and take advantage of pushdown for where, order by, limit, and aggregate clauses — so queries run on SQL Server, not locally. Read-only, and works with Supabase Vault for secure connection string management.

Supported Data Types

Postgres TypeSQL Server Type
booleanbit
chartinyint
smallintsmallint
realfloat(24)
integerint
double precisionfloat(53)
bigintbigint
numericnumeric / decimal
textvarchar / char / text
datedate
timestampdatetime / datetime2 / smalldatetime
timestamptzdatetime / datetime2 / smalldatetime

Resources

Details

DeveloperSupabase
DocumentationLearn

Third-party integrations and docs are managed by Supabase partners.

Get started with Microsoft SQL Server Wrapper and Supabase.