T-SQL in Fabric Warehouse – What’s Supported and What’s Not
Microsoft Fabric introduces powerful T-SQL support within the Fabric Warehouse. However, there are some important differences between what you can do in a Warehouse vs a SQL Analytics Endpoint.
✅ Supported T-SQL Features in Fabric Warehouse
CREATE
,ALTER
,DROP
for tables, views, functions, and procedures- Full support for
INSERT
,UPDATE
,DELETE
, andTRUNCATE
sp_rename
to rename columns- Common Table Expressions (CTEs), including nested CTEs (Preview)
- Session-scoped
#temp tables
ADD/DROP COLUMN
(nullable only)ADD/DROP CONSTRAINT
(only withNOT ENFORCED
)
❌ Not Supported T-SQL Features
MERGE
,PREDICT
,TRIGGERS
SET ROWCOUNT
,SET TRANSACTION ISOLATION LEVEL
IDENTITY
columnsFOR JSON
andFOR XML
in subqueriesALTER TABLE
(only limited cases supported)sp_showspaceused
,CREATE USER
- Recursive queries
- Materialized views
- Manual statistics (auto only)
⚠️ SQL Analytics Endpoint – Key Limitations
- Read-only access to Delta tables
- Can create views and functions referencing Delta Lake
- No
INSERT
,UPDATE
,DELETE
, orCREATE TABLE
support - Designed for analytical querying, not DML operations
✅ Use Fabric Warehouse for complete DML + DDL capabilities.
🔍 Use SQL Analytics Endpoint for querying Lakehouse Delta tables only.