try to connect Ruby to oracle

A

andre hartawan

Need an advice please,

I have an error while trying to connect ruby to
oracle.
u can see the error below.What should I do ?

E:\ruby\bin>ruby -r oci8 -e "OCI8.new('hr', 'hr',
'//10.10.xx.xx:1521/oradbx').
exec('select * from JOBS') do |r| puts r.join(',');
end"
E:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:49:in `create':
ERROR (OCIError)
from E:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:49

thnx
andre





____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
 
D

David Vallner

--------------enig59A0B994BA94D68F14E503EC
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

andre said:
[snip thread hijack]

Please, don't use the "Reply" function of your email client to start
talking about a topic completely different than the one of the post
you're replying to, but write a new message from scratch. It Makes
Things Confusing (tm).

Disclaimer: if it's the apparent fault of my client and noone else sees
this as an (accidental) hijack of Francis Cianfrocca's about BER, ignore
this message.

David Vallner


--------------enig59A0B994BA94D68F14E503EC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFed68y6MhrS8astoRAmkmAJ9JZ9mroDm2AtYHkHsP7jAfq1MBtACfXOiP
2KCD8GO5SrmRmm56PGKI2S0=
=CvMS
-----END PGP SIGNATURE-----

--------------enig59A0B994BA94D68F14E503EC--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top