Connect to Oracle database and execute SQL statements.
Author: langgenius
Version: 0.0.3
Type: tool
Repo: https://github.com/WilburOracle/dify-oracle-db-plugin
This plugin enables connections to Oracle databases (supporting Oracle Database 26ai and earlier versions) and offers two tools: one for executing SQL queries (e.g., SELECT statements) and another for running SQL commands (such as INSERT, UPDATE, or DELETE operations). It features a streamlined interface that allows direct interaction with Oracle databases within Dify, simplifying database operations for users.
When using the Query tool, you need to provide the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| host | String | Yes | The hostname or IP address of the Oracle database server |
| port | Integer | No | The port number of the Oracle database server (default is 1521) |
| user | String | Yes | The username for connecting to the Oracle database |
| password | String | Yes | The password for connecting to the Oracle database |
| service_name | String | Yes | The service name of the Oracle database |
| query | String | Yes | The SQL query to execute against the Oracle database |
| output_format | String | No | The format of the output (JSON, Text-Markdown, Text-CSV), default is JSON |
When using the Execution tool, you need to provide the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| host | String | Yes | The hostname or IP address of the Oracle database server |
| port | Integer | No | The port number of the Oracle database server (default is 1521) |
| user | String | Yes | The username for connecting to the Oracle database |
| password | String | Yes | The password for connecting to the Oracle database |
| service_name | String | Yes | The service name of the Oracle database |
| statement | String | Yes | The SQL statement to execute (INSERT, UPDATE, DELETE) |
| output_format | String | No | The format of the output (JSON, Text-Markdown, Text-CSV), default is JSON |
Parameters:

When using the Query tool, the plugin returns results in the format you specified (JSON by default) with the following structure:
JSON format:
Markdown format: Returns a formatted markdown table with the query results.
CSV format: Returns the raw CSV data of the query results.
Parameters:

When using the Execution tool, the plugin returns execution status in the format you specified (JSON by default):
In case of an error, the response will be:
This plugin only executes SQL and returns results to Dify workflows. It does not actively or passively collect user information.