OMackenzie's avatar
OMackenzie
Icon for Advocate I rankAdvocate I
2 months ago
Status:
New

Settings to Auto Delete SQL Queries

SQL queries in a Fabric Warehouse, Lakehouse, etc. save automatically with a generic name, e.g. SQL query 1.

While there have been improvements to allow for bulk deleting, I would suggest adding the following functionality:

  1. Allow users to choose between automatically saving new queries (as it works now) or automatically deleting any unsaved queries after they're closed.
  2. A quick button to 'delete unnamed queries', which would leave any queries which have been renamed or saved with an actual name, deleting any which have just been saved with the generic 'SQL query 1' type name.
  3. Allow users to select a retention period and automatically delete unnamed queries after this time, e.g. after 1 day / 1 week.

1 Comment

  • rashadn's avatar
    rashadn
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi OMackenzie​,

    We’ve added the ability to turn off AutoSave for SQL queries. You can disable it by clicking the AutoSave status in the footer and selecting Turn off.

    With AutoSave disabled, changes won’t be saved automatically, which should help reduce the accumulation of queries you don’t want to keep.

    I hope this helps address your scenario!

     

     

Recent ideas