CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 08:18:53 GMT
content-type: text/html; charset=utf-8
cache-control: public, max-age=86400
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=RcWLgz8xvKXofeVh3ROKtTpJRtDnwfCXYjfMnp1WT%2Fjhh6A4C6hnDKmQwi7P2JgGKQC1p9WbGeZWuva4g1j3GkhOIL1ABeiZH74x4UzxAIQ%3D"}]}
speculation-rules: "/cdn-cgi/speculation"
referrer-policy: strict-origin-when-cross-origin
strict-transport-security: max-age=63072000; includeSubDomains
vary: Accept-Encoding
x-cache: miss
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-request-id: c5e03d86-205e-4ff0-bc54-ba5d4aceca5e
x-runtime: 0.084707
x-xss-protection: 0
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
cf-cache-status: HIT
content-encoding: gzip
server: cloudflare
cf-ray: 98ccedea0824160c-BOM
alt-svc: h3=":443"; ma=86400
RubyDoc.info:
File: README
– Documentation for kubo/ruby-oci8 (master)
– RubyDoc.info
Ruby-oci8
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 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
Installation
- Install for Oracle Full Client
- Install for Oracle Instant Client
- Install Binary Package
- Install on OS X
Report issues
Other documents
- Number Type Mapping between Oracle and Ruby
- Timeout Parameters
- Conflicts between Local Connections and Child Process Handling on Unix
- Hanging After a Long Period of Inactivity
- Bind an Array to IN-condition
- LDAP Authentication and Function Interposition
License
- 2-clause BSD-style license from ruby-oci8 2.1.3
- old Ruby license until 2.1.2
Generated on Wed Oct 1 04:47:15 2025 by
yard
0.9.37 (ruby-3.4.3).