Table of Contents
You may want to delete a query that you no longer need.
To delete a query:
In the Project Explorer, switch to the Queries tab.
Right-click the query that you want to delete, and select Delete Selection.
The selected query is deleted.
If you delete a query by mistake, you can undo the delete by pressing Ctrl+Z, or by clicking Edit > Undo.