a.goo0h at gmail.com
Thu Jan 17 10:13:54 EST 2008
On Jan 17, 2008 7:53 AM, KUBO Takehiro <kubo at jiubao.org> wrote:
> Here is a mailing list for who develop ruby-oci8 itself, not for who
> use ruby-oci8 to develop other applications.
Sorry. A post back in Sep '07 to the general list/group never got a
response, so I wasn't sure where else to post the query.
> The following code works on 1.0.
> cursor = conn.parse('select rowid, t.* from dual t')
> cursor.define(1, String, 23) # fetch 1st column as a String.
> while row = cursor.fetch
> puts row
> As for OCI8::Cursor#rowid, it is available to get rowids of
> inserted rows.
> cursor = conn.parse('insert into foo values (1, 2)')
> rowid = cursor.rowid # inserted row's rowid.
I'll follow-up my query to the general list/group with this info so others
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ruby-oci8-devel