Oracle PL/SQL executing OS Commands icon

Oracle PL/SQL executing OS Commands For Linux

  n/a
Public Domain    

PL/SQL executing shell (operating system) commands: OS_COMMAND and FILE_TYPE. #Oracle database  #SQL commands  #Oracle  #SQL  #Database  #Commands  

Description

changelog

Free Download

Oracle PL/SQL executing OS Commands project contains the PL/SQL packages OS_COMMAND, FILE_TYPE and FILE_PKG which enable an Oracle database developer to interact with the operating system or with ordinary files. Oracle provides out-of-the-box only limited functionality for accessing the file system and no functionality to execute shell commands or operating system processes. There are PL/SQL scripts spread over the internet and in the Oracle forums but there is no ready-to-install package. This project is about to provide exactly this.

In general there are at least three ways to execute shell commands by the Oracle engine.

1. Coding a native shared library, reference it in the Oracle database using CREATE LIBRARY and create a PL/SQL wrapper on the particular functions. This required a C compiler for the platform Oracle is running on.  2. Using the Oracle-supplied package DBMS_SCHEDULER which is able to execute shell commands. But DBMS_SCHEDULER lacks access to STDIN and STDOUT; if this is needed, DBMS_SCHEDULER is not longer an option.  3. Since Oracle8i there is a J2SE compliant Java Engine contained in the database; as any other Java Engine it is capable to execute the shell commands via the System.exec method. The JDBC API allows to pass the contents of STDIN, STDOUT or the OS return values back to the SQL engine. And since Java is platform-independent one install script does the job for all platforms. So I took the decision for Java in the database.

The package runs in Oracle 10.1 or higher.

What's new in Oracle PL/SQL executing OS Commands 0.6:

  • Separated files for Oracle10 and Oracle11g - the OS_COMMAND.LOAD_ENV methods are not available in 10g
  • Support for working directories when executing shell commands
  • Support for custom environment variables
  • FILE_TYPE no longer required write privileges when just reading files
Read the full changelog

Oracle PL/SQL executing OS Commands 0.6

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
PLSQL_OSCOMMAND_0.6.tar.gz
  main category:
Database
  developer:
  visit homepage

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Context Menu Manager 3.3.3.1

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Zoom Client 6.0.3.37634

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

% discount
Windows Sandbox Launcher
  • Windows Sandbox Launcher
  • 7-Zip
  • Microsoft Teams
  • Bitdefender Antivirus Free
  • calibre
  • 4k Video Downloader
  • Context Menu Manager
  • IrfanView
  • ShareX
  • Zoom Client
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy