Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I unfortunately made a mistake with the data type of a few columns in a warehouse I created.
I want to simply change the data type of said columns but it looks like that isn't supported yet.
So I thought I would just drop the columns and create them again but it also appears that this is not supported yet.
Is the only solution to this really to drop the table and recreate it? Am I misunderstanding the linked documentation?
Huge seems like a huge limitation if so.
Source: https://learn.microsoft.com/en-us/fabric/data-warehouse/tsql-surface-area
Solved! Go to Solution.
The below blog provides explict details w.r.t alter table scenarios that are supported as of today in fabric warehouse and the limitations :
https://www.serverlesssql.com/the-reality-of-alter-table-in-fabric-warehouses-2/
Unfortunately , you would have to create a new table, sync the data to new table and drop the old table as the easy way around
The below blog provides explict details w.r.t alter table scenarios that are supported as of today in fabric warehouse and the limitations :
https://www.serverlesssql.com/the-reality-of-alter-table-in-fabric-warehouses-2/
Unfortunately , you would have to create a new table, sync the data to new table and drop the old table as the easy way around
Unfortunately, I suspected something like this. Thank you!
I also found a work around by remaking the columns with ADD COLUMN and just appending "_corrected" to the column name, then renaming it in a view. Not ideal but got the job done.
User | Count |
---|---|
4 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
12 | |
10 | |
4 | |
3 | |
2 |