Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > oci8 oracle rowid

Reply
Thread Tools

oci8 oracle rowid

 
 
Mark Pelletier
Guest
Posts: n/a
 
      09-24-2007
Whenever I try to read a rowid from an Oracle table, I get:

TypeError: not valid handle type Class

The OCI documentation says rowid is supported, and that the
documentation on it is yet to be written. Anyone know how to read it?
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Mark Pelletier
Guest
Posts: n/a
 
      09-24-2007
Odd, I can do something like:

c.execute("select * from dual where rowid = 'AAAAECAABAAAAgiAAA'")

but not:
r=c.exec('select rowid from dual')


Mark Pelletier wrote:
> Whenever I try to read a rowid from an Oracle table, I get:
>
> TypeError: not valid handle type Class
>
> The OCI documentation says rowid is supported, and that the
> documentation on it is yet to be written. Anyone know how to read it?


--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ruby-oci8-1.0.0 rowid Amos Ruby 1 01-17-2008 03:20 PM
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified procedure could not be found at C:/Perl/lib/DynaLoader.pm line 230. Feyruz Perl Misc 4 10-14-2005 06:47 PM
Specifying a filter based on rowid UJ ASP .Net 0 05-25-2005 06:15 PM
Access (ROWID) Unique ID from Datagrid Column Mona Syed ASP .Net Datagrid Control 0 06-01-2004 02:52 PM
how to get current rowid in datagrid Lerp ASP .Net 2 05-21-2004 11:05 PM



Advertisments