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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
RonaldBalza-943
Frequent Visitor

Stored procedure exec in lakehouse

Hey everyone, quick question. I've got a stored procedure in my Fabric Lakehouse and I'm trying to execute it directly from there (just aiming to create a simple table, for example). However, when using the SQL Analytics endpoint and T-SQL in a notebook, I'm unable to get it to run. Any suggestions or advice? Thanks!

1 ACCEPTED SOLUTION

Hi @RonaldBalza-943 

 

Creating tables by using stored procedures is directly not possible in Fabric lakehouse. Can you please refer this documentation T-SQL Surface Area in Fabric Data Warehouse - Microsoft Fabric | Microsoft Learn

There is another way to create tables by using stored procedure. Please refer this thread Preprocess data with a stored procedure before loading into Lakehouse - Microsoft Fabric | Microsoft...

 

Thank you!!

View solution in original post

4 REPLIES 4
suparnababu8
Super User
Super User

Hi @RonaldBalza-943 


'just aiming to create a simple table'  mean>>> are you trying to create a new table in Lakehouse by using T-SQL? if yes, it's not possible in lakehouse. 

 

Can you please elaborate your question?

 

thanks!!

 

Yes, the stored procedure is intended to create a table. If it’s not possible to do this within the Lakehouse environment, could you please point me to the relevant documentation? Also, is there any alternative way to execute the stored procedure in Lakehouse? Thanks very much!

Hi @RonaldBalza-943 ,

Just add to @suparnababu8 , response for further clarification. Unfortunately, you can't create tables directly in the Fabric Lakehouse using stored procedures due to limitations in the supported T SQL Surface Area for the Lakehouse environment.

FYI:

Vyubandimsft_0-1745824880301.png

Please refer to the document below for further clarification.

T-SQL Surface Area in Fabric Data Warehouse - Microsoft Fabric | Microsoft Learn

 

  1. To understand which T-SQL features are supported, check out the official documentation on the T-SQL Surface Area in Fabric Data Warehouse. It explains the functionalities and restrictions in detail.
  2. Although direct table creation isn't possible, you can preprocess your data using a stored procedure before loading it into the Lakehouse Preprocess data with a stored procedure before loading into Lakehouse - Microsoft Fabric | Microsoft...

Thank you for your inputs @suparnababu8 .

 

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.

Hi @RonaldBalza-943 

 

Creating tables by using stored procedures is directly not possible in Fabric lakehouse. Can you please refer this documentation T-SQL Surface Area in Fabric Data Warehouse - Microsoft Fabric | Microsoft Learn

There is another way to create tables by using stored procedure. Please refer this thread Preprocess data with a stored procedure before loading into Lakehouse - Microsoft Fabric | Microsoft...

 

Thank you!!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.