Reply
avatar user
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
avatar user
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

 

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.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)