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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

 

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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