Oracle.ManagedDataAccess.SQLScriptExecution
23.26.300-Preview.1
Prefix Reserved
dotnet add package Oracle.ManagedDataAccess.SQLScriptExecution --version 23.26.300-Preview.1
NuGet\Install-Package Oracle.ManagedDataAccess.SQLScriptExecution -Version 23.26.300-Preview.1
<PackageReference Include="Oracle.ManagedDataAccess.SQLScriptExecution" Version="23.26.300-Preview.1" />
<PackageVersion Include="Oracle.ManagedDataAccess.SQLScriptExecution" Version="23.26.300-Preview.1" />
<PackageReference Include="Oracle.ManagedDataAccess.SQLScriptExecution" />
paket add Oracle.ManagedDataAccess.SQLScriptExecution --version 23.26.300-Preview.1
#r "nuget: Oracle.ManagedDataAccess.SQLScriptExecution, 23.26.300-Preview.1"
#:package Oracle.ManagedDataAccess.SQLScriptExecution@23.26.300-Preview.1
#addin nuget:?package=Oracle.ManagedDataAccess.SQLScriptExecution&version=23.26.300-Preview.1&prerelease
#tool nuget:?package=Oracle.ManagedDataAccess.SQLScriptExecution&version=23.26.300-Preview.1&prerelease

Oracle.ManagedDataAccess.SQLScriptExecution 23.26.300-Preview.1
Release Notes for Oracle Data Provider for .NET Extension for SQL Script Execution NuGet Package
August 2026
This NuGet package supports SQL script execution with ODP.NET Core.
This document provides information that supplements the Oracle Data Provider for .NET (ODP.NET) documentation.
New Features
- Introduces SQL script execution support via OracleCommand.ExecuteStatements
- Execute multiple SQL and PL/SQL statements from a single stream
- Returns execution results (result sets, output parameters, errors) in JSON format
- Supports bind parameters via JSON
- Configurable execution behavior (AbortOnError / ContinueOnError)
- Configurable LOB and LONG data fetch limits for JSON results
- Provides detailed error information with statement-level metadata
Usage
Use the ExecuteStatements extension method on OracleCommand to execute SQL or PL/SQL statements from a stream. The API parses the input, executes each statement, and returns the results as a JSON string.
You can optionally specify
- how execution behaves when errors occur - whether to abort or continue the execution of the remaining statements using the OracleExecutionOption enum
- supply bind parameters information through a JSON stream via the SetParametersForExecuteStatements extension method on OracleCommand OR via OracleParameterCollection
- the maximum LOB and LONG data returned in the JSON result using the MaxLOBFetchSize and MaxLONGFetchSize properties
Code Sample
string filePath = "<PATH_TO_SQL_SCRIPT>";
StreamReader stream = new StreamReader(filePath);
OracleConnection conn = new OracleConnection("<CONNECTION STRING>");
conn.Open();
OracleCommand cmd = conn.CreateCommand();
// JSON file with input parameters
string jsonParamPath = "<PATH_TO_JSON_PARAMS>";
StreamReader jsonParams = new StreamReader(jsonParamPath);
cmd.SetParametersForExecuteStatements(jsonParams);
// Set error option behavior if necessary
OracleStatementExecutionSettings settings = new OracleStatementExecutionSettings();
settings.ExecutionOption = OracleExecutionOption.ContinueOnError;
// results returned in JSON format
string results = cmd.ExecuteStatements(stream, settings);
Oracle .NET Links
- Oracle .NET Home Page
- GitHub - Sample Code
- ODP.NET Discussion Forum
- YouTube
- X (Twitter)
- Email Newsletter Sign Up
Copyright (c) 2026, Oracle and/or its affiliates.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Oracle.ManagedDataAccess.Core (>= 23.26.300 && < 24.0.0)
-
net8.0
- Oracle.ManagedDataAccess.Core (>= 23.26.300 && < 24.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 23.26.300-Preview.1 | 70 | 9/25/2026 |