You can delete scripts from the Script Repository by:
Deleting selected scripts from the SQL Scripts home page
Deleting the current script in the Script Editor
Topics:
To delete scripts from the SQL Scripts home page.
Click the SQL Workshop icon on the Workspace home page.
Click the SQL Scripts icon to display the SQL Scripts home page.
Select Details from the View list to display the SQL Scripts home page detail view.
Click the check box for each of the scripts you want to delete, or click the check box in the column heading to select all scripts visible in the current page. The check boxes are at the left end of the scripts listed in the Details view.
Click Delete Checked to permanently remove the selected scripts from the Script Repository. You are prompted to confirm this action before the script is deleted.
A "Script(s) deleted." message appears above the updated list of Scripts.