Skip to content

Execute Script with Local Client

dbeaver-devops edited this page Oct 26, 2026 · 4 revisions

Note: This feature is available in Community, Enterprise, and Ultimate editions only.

Table of contents

DBeaver can run a SQL script file directly through the database's native client.

Make sure the local client is installed and configured. If DBeaver can't find it, see Local Client Configuration.

Run a script through the native client

  1. Right-click the target database in the Database Navigator.
  2. Choose Tools -> Execute script.
  3. Point to your SQL file and click Start.

DBeaver runs the script against the database and shows the output in the task log.

Tip: In the file field, you can pick a file from a local directory or use the Browser remote file system button to select one from a remote file system.

Run a script with Oracle SQL Plus

For Oracle, DBeaver runs scripts through SQL Plus. Make sure SQL Plus is installed and configured for your Oracle connection.

  1. In the Database Navigator, select a schema in your Oracle database.
  2. Right-click and choose Tools -> Execute in SQL Plus.
  3. In the wizard, select the path to your script and click Start.

DBeaver supports several SQL Plus commands for Oracle compatibility.

Example:

ACCEPT salary NUMBER FORMAT '000.0' DEFAULT '000.99'
PROMPT 'Enter weekly salary '

For more on configuring SQL Plus, see the official Oracle documentation.

DBeaver Documentation

Clone this wiki locally