Version 9 (modified by Maxim Reznik, 7 years ago) ( diff )


SQL Database Access - Oracle

Driver Name

The name of the Oracle driver to be passed to SQL.Databases.Create subprogram is "ORACLE".

Driver's Options

Supported options are listed in the table below, see Oracle documentation for detailed description of options.

database Connect to this database
password User's password
user User name

Build instructions

Oracle module requires Oracle 11i (or latter) client installed. Oracle Instant Client is also supported. Automatic configuration facility use ORACLE_HOME environment variable to find where oracle client libraries are. It is possible to specify path to libraries in the command line of configure (or configure.exe on Windows) program with --with-oracle-libdir switch, for example:

configure --with-oracle-libdir=/oracle/lib

Install Instant Client on Windows

Easiest way to work with oracle driver on Windows OS is next.

  • Download and unpack instant client archive for your OS, for instance, Add path to unpacked directory to PATH environment variable. Matreshka configure will found oci.dll there.

Install Instant Client on OpenSUSE

  • Download instant client RPMs for your OS, for instance, oracle-instantclient11.2-basic- and oracle-instantclient11.2-devel-
  • Install them using rpm -i oracle-instantclient*.rpm
  • Set correct ORACLE_HOME and LD_LIBRARY_PATH environment:
    export ORACLE_HOME=/usr/lib/oracle/11.2/client64/
    • create /etc/profile.d/ file:
      export ORACLE_HOME=/usr/lib/oracle/11.2/client64/
    • create /etc/ file:
    • run ldconfig

Install Instant Client on Mac OS

Easiest way to work with oracle driver on Mac OS is next.

  • Download and unpack instant client archive for your OS, for instance, Point environment variables to unpacked directory:
    export ORACLE_HOME=/User/max/instantclient_11_2
  • Create symlinks for lib and libclntsh to let matreshka configure find it:
    ln -s . $ORACLE_HOME/lib
    ln -s $ORACLE_HOME/libclntsh.dylib.* $ORACLE_HOME/libclntsh.dylib

Supported data types

Supported League.Values are String, Integers and Float.

Don't use more than 64kbytes of data for Strings.

For integers column use Integer datatype or better Number (18,0).

For floats columns datatype use Binary_Float or Binary_Double. For now Number datatype can be used also, but it changes when Universal_Decimal will be ready.

Note: See TracWiki for help on using the wiki.