Running a Script

Restriction: This topic applies to Windows environments only.

You can run a batch script from within SQLWizard, with or without opening the script file in an SQL Edit window. You can also execute a script without opening SQLWizard, by calling the file from your development environment's command prompt.

To run a batch SQL script from an active SQL Edit window:

  1. From the File menu, click the Run Batch command.
  2. When the Run Batch dialog box appears, select the .SQL script file you want to run.
  3. Click OK. The batch SQL script is loaded and immediately begins to execute.

    After execution, a message box is displayed telling you that you will not be able to edit the contents of the selected batch SQL script in the current SQL Edit window. To edit the script, reopen it in a separate SQL Edit window.

  4. Click Continue.

    The results are displayed in the Result window.