| Execute a script in the Editor |
Use Execute as script (F5) in the Editor. Execute Scripts in the Editor
Considerations:
- Long-running scripts can tie up the Editor.
- Does not support bind variables and cannot produce editable data. Alternately, you can execute the code as a statement. Execute Single Statements
- Fetches all matching records at the same time, which may cause it to execute slower and use more resources.
|
|
Execute a long-running script without tying up Toad (execute a script outside of Toad) |
Use Toad Script Runner for scripts that may take a long time to execute or to execute a script in an external application.
See Execute Scripts with Toad Script Runner in the online help for more information.
Considerations:
- Compared to executing a script in Toad, Toad Script Runner does not offer all of the Editor's features
- You can also use SQL*Plus to externally execute scripts. SQL*Plus does not have data grids or other Toad features, and it does not support Unicode. Execute SQL with SQL*Plus
|
| Execute multiple scripts |
You can use the Automation Designer or Script Manager. See the following in the online help for more information:
- Automation Designer Overview
- Script Manager Overview
|
| Schedule execution |
Create a Toad Action and schedule it to run.
See Schedule Actions and Apps in the online help for more information. |
| Execute through the command line |
Execute scripts or Toad Actions with scripts from the command line. See the following in the online help for more information:
- Command Line Syntax
- Execute Actions from the Command Line
- Automation Designer Overview
|