Portable way to find a pk using Ruby-DBI

Discussion in 'Ruby' started by listrecv@gmail.com, Jun 11, 2006.

  1. Guest

    Is there a portable way to find a record's PK, after it was inserted
    (assuming it was autogenerated) using Ruby-DBI?

    What is the best way to handle this? If I'd like to support multiple
    db's, how shouldI handle finding/generating pk's?
    , Jun 11, 2006
    #1
    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. ulloa
    Replies:
    1
    Views:
    507
    Juha Laiho
    Jul 22, 2004
  2. Eli Bendersky
    Replies:
    1
    Views:
    1,143
    Mike Treseler
    Mar 1, 2006
  3. Replies:
    7
    Views:
    892
  4. Jerome Hauss
    Replies:
    0
    Views:
    157
    Jerome Hauss
    Oct 13, 2004
  5. Asby

    Mason, DBI, and DBI::Pg

    Asby, Jul 24, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    162
Loading...

Share This Page