Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Connecting to fabric SQL endpoint from SSMS

Hi,

I'm unable to connect to my fabric SQL endpoint from SQL Server Management Studio.
This is supposed to be possible right?
Error message below.
Anyone know what I need to get this working?

Thanks

 

josi4_0-1686526190546.png

josi4_1-1686526291911.png

 

4 REPLIES 4
Anonymous
Not applicable

That doesn't explain it but agree it's odd that INSERT is mentioned in the error text.
The error happens during initial attempt to establish a connection to the SQL endpoint (shown below)

josi4_0-1687125338631.png

 

AndyDDC
Most Valuable Professional
Most Valuable Professional

What's your version of SSMS? Can you try updating to the latest version and try again?

Hi ,  @Anonymous 

Are you able to connect successfully now? According to your error message "INSERT is not a supported statement type", it means that the SQL endpoint does not support the insert statement.

Creating, altering, and dropping tables, and insert, update, and delete are only supported in Warehouse in Microsoft Fabric, not in the SQL Endpoint of the Lakehouse.

And i test it in my side , i can connect it without any error code .

Did you choose to execute statements or open some windows when you connected?
marcosvin
Resolver II
Resolver II

Hello!

 

From the error message it appears you are executing an INSERT command in a lakehouse, which is not supported. Lakehouse SQL Endpoint only allows SELECT queries. To modify data you need to create flows using dataflows and pipelines or use commands directly in Spark notebooks.

What is SQL endpoint for a lakehouse? - Microsoft Fabric | Microsoft Learn

 

To perform DML operations use warehouses instead of lakehouses.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.