Run a Statement or Script in the Background
Run a Statement in the Background
- In the SQL Worksheet, enter a SQL statement in the editor pane.
- Click the arrow next to Run Statement and select Run in background.
- In the Run in Background panel, specify the
following information:
-
Execution name: Enter a name for the execution.
- Preferred results format, Compartment and Preferred bucket: If you have already configured these values in Preferences, they are populated automatically.
-
- Click Run.
The execution appears on the Background Executions tab.
Note
Each background execution creates a unique folder in Object Storage. The folder name includes the execution name, a timestamp, and a unique identifier to prevent naming conflicts.
Run a Script in the Background
Running a script in the background follows the same process as running a statement.
To run a script:
- Enter the script in the SQL Worksheet.
- Click the arrow next to Run Script and select Run Script in Background.
- Provide the execution details and click Run.
For databases that support the Multilingual Engine (MLE), you can select either SQL or JavaScript before running the script.