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. Advertisements

  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. Advertisements

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. Replies:
    1
    Views:
    304
    Wilson Bilkovich
    Nov 7, 2006
  2. Jason  Vogel
    Replies:
    4
    Views:
    436
    Jason Vogel
    Nov 21, 2006
  3. Brian Candler
    Replies:
    1
    Views:
    265
    Brian Candler
    Mar 20, 2007
  4. Peter Bailey
    Replies:
    0
    Views:
    290
    Peter Bailey
    May 25, 2007
  5. Sean Nakasone
    Replies:
    1
    Views:
    174
    KUBO Takehiro
    Nov 11, 2007
  6. Amos

    ruby-oci8-1.0.0 rowid

    Amos, Jan 15, 2008, in forum: Ruby
    Replies:
    1
    Views:
    200
  7. Peter Bailey
    Replies:
    11
    Views:
    808
    Vetrivel Vetrivel
    Nov 30, 2009
  8. Feyruz
    Replies:
    4
    Views:
    2,981
    Sherm Pendley
    Oct 14, 2005
Loading...