Previous Next JavaScript must be enabled to correctly display this content

## 6.8 Deleting a SQL Script

You can delete scripts from the Script Repository by deleting selected scripts from the SQL Scripts page, or deleting the current script in the Script Editor.

- Deleting Scripts from the SQL Scripts Page
  Learn how to delete scripts from the SQL Scripts page.
- Deleting a Script in the Script Editor
  Learn how to delete a script in the Script Editor.

Parent topic: Using SQL Scripts

### 6.8.1 Deleting Scripts from the SQL Scripts Page

Learn how to delete scripts from the SQL Scripts page.

To delete scripts from the SQL Scripts page:

1. On the Workspace home page, click SQL Workshop and then SQL Scripts.

   The SQL Scripts page appears.

2. Click the View Report icon.

   Reports view appears.

3. Select the scripts to be deleted.

   To select individual scripts, click the check box to the left of the script name. To select all scripts visible in the current page, click the check box in the column heading.

4. Click Delete Checked to permanently remove the selected scripts from the Script Repository.
5. When prompted to confirm the delete action, click OK.

Parent topic: Deleting a SQL Script

### 6.8.2 Deleting a Script in the Script Editor

Learn how to delete a script in the Script Editor.

To delete a script in the Script Editor:

1. On the Workspace home page, click SQL Workshop and then SQL Scripts.

   The SQL Scripts page appears.

2. Open the script you want to delete in the Script Editor.
3. Click Delete to permanently remove the script from the Script Repository.
4. When prompted to confirm the delete action, click OK.

Parent topic: Deleting a SQL Script