https://github.com/kubo/ruby-oci8
Ruby-oci8 - Oracle interface for ruby
https://github.com/kubo/ruby-oci8
oci8 oracle ruby
Last synced: 21 days ago
JSON representation
Ruby-oci8 - Oracle interface for ruby
- Host: GitHub
- URL: https://github.com/kubo/ruby-oci8
- Owner: kubo
- License: other
- Created: 2011-08-18T13:54:42.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T15:41:01.000Z (8 months ago)
- Last Synced: 2024-10-29T13:50:17.467Z (6 months ago)
- Topics: oci8, oracle, ruby
- Language: Ruby
- Homepage:
- Size: 3.3 MB
- Stars: 169
- Watchers: 21
- Forks: 75
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
- awesome-ruby-toolbox - ruby-oci8 - ruby-oci8 is a ruby interface for Oracle using OCI8 API. It is available with Oracle 10g or later including Oracle Instant Client. (Data Persistence / SQL Database Adapters)
README
Ruby-oci8
=========[](http://badge.fury.io/rb/ruby-oci8)
[](https://github.com/kubo/ruby-oci8/actions/workflows/tests.yml)What is ruby-oci8
-----------------Ruby-oci8 is a ruby interface for Oracle Database. The latest version
is available for all Oracle versions after Oracle 10g including Oracle
Instant Client.Use ruby-oci8 2.0.6 for Oracle 8 or use ruby-oci8 2.1.8 for Oracle 9i.
Note that ruby 1.8 support was dropped in ruby-oci8 2.2.0.
Use ruby-oci8 2.1.8 for ruby 1.8.What's new
----------See {file:NEWS}.
Sample one-liner
----------------When you have an Oracle database server to which `sqlplus scott/tiger` can connect
and `scott` user has `emp` table, you can select `emp` and print rows
as CSV by the followig one liner.ruby -r oci8 -e "OCI8.new('scott', 'tiger').exec('select * from emp') do |r| puts r.join(','); end"
Homepage
--------* http://www.rubydoc.info/github/kubo/ruby-oci8
Installation
------------* {file:docs/install-full-client.md Install for Oracle Full Client}
* {file:docs/install-instant-client.md Install for Oracle Instant Client}
* {file:docs/install-binary-package.md Install Binary Package}
* {file:docs/install-on-osx.md Install on OS X}Report issues
-------------* {file:docs/report-installation-issue.md Report Installation Issues}
* [The issues page on github](https://github.com/kubo/ruby-oci8/issues)Other documents
---------------* {file:docs/number-type-mapping.md Number Type Mapping between Oracle and Ruby}
* {file:docs/timeout-parameters.md Timeout Parameters}
* {file:docs/conflicts-local-connections-and-processes.md Conflicts between Local Connections and Child Process Handling on Unix}
* {file:docs/hanging-after-inactivity.md Hanging After a Long Period of Inactivity}
* {file:docs/bind-array-to-in_cond.md Bind an Array to IN-condition}
* {file:docs/ldap-auth-and-function-interposition.md LDAP Authentication and Function Interposition}License
-------* {file:COPYING 2-clause BSD-style license} from ruby-oci8 2.1.3
* {file:COPYING_old old Ruby license} until 2.1.2