sohailbytes.oracleinteractive 1.0.5

dotnet add package sohailbytes.oracleinteractive --version 1.0.5
                    
NuGet\Install-Package sohailbytes.oracleinteractive -Version 1.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="sohailbytes.oracleinteractive" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="sohailbytes.oracleinteractive" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="sohailbytes.oracleinteractive" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add sohailbytes.oracleinteractive --version 1.0.5
                    
#r "nuget: sohailbytes.oracleinteractive, 1.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package sohailbytes.oracleinteractive@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=sohailbytes.oracleinteractive&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=sohailbytes.oracleinteractive&version=1.0.5
                    
Install as a Cake Tool

Oracle PL/SQL Extension for .NET Interactive Notebooks

This extension adds support for Oracle PL/SQL scripting to .NET Interactive (Polyglot Notebooks). It allows you to write and execute PL/SQL code directly in your interactive notebook, enabling seamless integration of database queries and scripting within your workflows.

Features

  • Oracle PL/SQL Kernel: Enables executing PL/SQL scripts and queries.
  • Result Visualization: Displays query results and script output directly in the notebook.
  • Integrated Workflow: Combine PL/SQL with other supported languages like C#, F#, or Python in a single notebook.

Getting Started

Installation

  1. Install the extension via NuGet:

    #r "nuget:sohailbytes.oracleinteractive"
    
  2. Add the Oracle PL/SQL kernel to your notebook by including the following directive:

    #!connect oracle --kernel-name "YOUR DB ALIAS" --connection-string "CONNECTION STRING"
    

Prerequisites

  • Oracle Database Client: Ensure you have a working Oracle database and the necessary client tools installed.
  • .NET Interactive: Install .NET Interactive by following the official guide.

Example Usage

#!YOUR DB ALIAS
-- Declare and execute a PL/SQL block
DECLARE
    v_name VARCHAR2(50);
BEGIN
    v_name := 'DotNet Interactive';
    DBMS_OUTPUT.PUT_LINE('Hello, ' || v_name || '!');
END;
/

You can also execute SQL queries:

#!YOUR DB ALIAS
SELECT *
FROM employees
WHERE department_id = 10;

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgements

  • Built using the .NET Interactive framework.
  • Special thanks to the Oracle developer community for their support and resources.

Start exploring the power of Oracle PL/SQL in your interactive notebooks today!

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.5 201 4/8/2025
1.0.1 125 1/2/2025
1.0.0 114 1/2/2025