Forum Discussion
Am not able to drop any table from Microsoft SQL Analytics End point -
- 1 year ago
HI Anonymous,
Thankyou 46 for the accurate and helpful response! You've clearly explained that DROP TABLE is not supported through the SQL Analytics Endpoint and pointed out the correct alternatives via Lakehouse or Notebooks.
Just to add a few more helpful points for your idea:
These endpoints are primarily built for querying and reporting. Operations like SELECT, JOIN, and AGGREGATIONS work fine, but DDL operations (e.g., DROP, CREATE, ALTER TABLE) are not supported from this layer.Tables exposed in the endpoint are stored in the Lakehouse as Delta Lake tables (in OneLake).
So, any structural changes must be performed at the Lakehouse level, either through the Lakehouse UI (Explorer) or using PySpark in a Fabric Notebook:
spark.sql("DROP TABLE IF EXISTS your_table_name")Please Accept as solution if this meets your needs and a Kudos would be appreciated.
Thank you.
Hi Anonymous ,
Are you using your own personal workspace?
1. If you are using workspace assigned by someone reach out to them for access, they might have applied restrictions.
2. If you are shared with particular Lakehouse/warehouse , they might have applied restrictions.
So reach out to the person who has give access.
Regards,
Srisakthi
Hi Srisakthi,
I do not have any Warehouse. am working with only Lakehouse. only few are Using this Lakehouse. there are no anybody to control or restrict here.
Thanks
Ramana