Run SQL Scripts
To run SQL scripts:
- Open Run SQL Scripts.
- From the Run menu,
select one of the following options:
- All - Runs your SQL script from the beginning to the end. If an error occurs and the
Stop on Error option is turned on, the program stops and the statement where the error occurred remains selected.
- From Selected - Starts your SQL script from the first statement that is selected or from the current cursor
position and continues to the end of the script.
- Selected - Runs the
statements that are selected.
The results are added to the end of the Messages tab. If the Smart Statement Selection
option on the Options menu is not checked, the text that is selected is run as a single SQL statement.
Related topics:
Change the options for running an SQL script