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
bexy
Frequent Visitor

How to create a schema using Fabric Notebook and change the table schema from existing default 'dbo'

I am able to create a schema in SQL Analytics endpoint and then able to alter the table schema manually using below steps within SQL Analytics endpoint.

 

CREATE SCHEMA main -- schema creation

ALTER SCHEMA main TRANSFER dbo.table_name -- change schema from dbo to main

 

But I want to perform this dynamically using Fabric notebook activity as there are many tables. Please help in this.

1 ACCEPTED SOLUTION

Hi @bexy 
We haven’t heard from you on the last response and was just checking back to see if your query got resolved. Otherwise, will respond back with the more details and we will try to help.
Thanks

View solution in original post

3 REPLIES 3
v-nikhilan-msft
Community Support
Community Support

Hi @bexy 
Thanks for using Fabric Community.
Currently creating a new schema in Lakehouse using Notebooks is not available in Fabric. You can query and make transformations to the data present in the dbo schema only.

Solved: Failed to create table and schema - Microsoft Fabric Community

 

Appreciate if you could share the feedback on our feedback link , which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Feedback Link : Home (microsoft.com)

Hope this helps. Please let me know if you have any further questions.

Hi @bexy 
We haven’t heard from you on the last response and was just checking back to see if your query got resolved. Otherwise, will respond back with the more details and we will try to help.
Thanks

Hi @bexy 
We haven’t heard from you on the last response and was just checking back to see if your query got resolved. Otherwise, will respond back with the more details and we will try to help.
Thanks

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! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!