Forum Discussion
ToddChitt
Super User
2 years agoCannot DROP a table in a Fabric Warehouse
I have a table the had about 2 million rows of fact data. I needed to add a column but cannot simply run an ALTER TABLE statement. So I need to DROP the table and recreate it. Shouldn't be that hard....
- Anonymous2 years ago
Hi ToddChitt
Thanks for using Fabric Community.
Can you please check if the dropping of the table is being blocked? You can use sys.dm_exec_requests to see if that is true.
sys.dm_exec_requests (Transact-SQL) - SQL Server | Microsoft Learn
Hope this helps. Please let me know if you have any further questions.
ToddChitt
Super User
2 years agoAnonymous Thanks, yeah, there was an INSERT statement blocking it. Not sure what from seeing as all jobs had been closed out/disconnected.
Thanks
- Anonymous2 years agoNot applicable
Hi ToddChitt
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.