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,DROPfor tables, views, functions, and procedures- Full support for
INSERT,UPDATE,DELETE, andTRUNCATE sp_renameto 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,TRIGGERSSET ROWCOUNT,SET TRANSACTION ISOLATION LEVELIDENTITYcolumnsFOR JSONandFOR XMLin 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 TABLEsupport - 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.



No comments:
Post a Comment
Note: Only a member of this blog may post a comment.