You use the Script Editor to add content to a new script, to edit existing scripts, and to run and delete scripts in the script repository.
Parent topic: Using SQL Scripts
Learn how to edit an existing SQL script.
To edit a SQL script:
You can test your script during editing by running the script to reveal errors.
See Also:
Parent topic: Using the Script Editor
Controls and buttons available within the Script Editor.
Table 5-1describes the buttons and controls available within the Script Editor
Table 5-1 Buttons and Controls within the Script Editor
| Button | Descriptions | 
|---|---|
| Cancel | Cancel the editing session and exit the Script Editor without saving changes made since the last save. | 
| Download | Saves a copy of the current script to your local file system. Enter a name for the script on your local file system and a directory path. | 
| Delete | Removes the current script from the Script Repository. | 
| Save | Saves the currently script. Save is disabled if you edit the Script Name. Instead use Apply Changes. | 
| Apply Changes | Saves the script and returns to the SQL Scripts report. | 
| Run | Submits the script for execution. | 
| Undo (Ctrl+Z) | Removes, or undoes, the most recent line edit made in the Script Editor. | 
| Redo (Ctrl+Y) | Repeats the most recent line edit made in the Script Editor. | 
| Find (Ctrl+F) | Click the Find icon (which resembles a magnifying glass) to perform a basic search. | 
| Replace (Ctrl+Shift+F) | Click the Replace icon (which resembles a two-sided arrow) to replace existing code. | 
See Also:
Parent topic: Using the Script Editor