oci8 oracle rowid

Discussion in 'Ruby' started by Mark Pelletier, Sep 24, 2007.

  1. 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/.
    Mark Pelletier, Sep 24, 2007
    #1
    1. Advertising

  2. 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/.
    Mark Pelletier, Sep 24, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lerp
    Replies:
    2
    Views:
    568
  2. UJ
    Replies:
    0
    Views:
    431
  3. Mona Syed

    Access (ROWID) Unique ID from Datagrid Column

    Mona Syed, Jun 1, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    438
    Mona Syed
    Jun 1, 2004
  4. Amos

    ruby-oci8-1.0.0 rowid

    Amos, Jan 15, 2008, in forum: Ruby
    Replies:
    1
    Views:
    131
  5. Feyruz
    Replies:
    4
    Views:
    2,163
    Sherm Pendley
    Oct 14, 2005
Loading...

Share This Page