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. 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. ulloa
    Replies:
    1
    Views:
    684
    Juha Laiho
    Jul 22, 2004
  2. Eli Bendersky
    Replies:
    1
    Views:
    1,497
    Mike Treseler
    Mar 1, 2006
  3. Replies:
    7
    Views:
    1,181
  4. **--> That Guy Downstairs
    Replies:
    14
    Views:
    964
    S7Solutions
    Feb 21, 2006
  5. Diego Martins
    Replies:
    0
    Views:
    412
    Diego Martins
    Aug 22, 2006
  6. Jerome Hauss
    Replies:
    0
    Views:
    327
    Jerome Hauss
    Oct 13, 2004
  7. Asby

    Mason, DBI, and DBI::Pg

    Asby, Jul 24, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    333
  8. Tim Haynes
    Replies:
    3
    Views:
    318
    Ron Reidy
    Sep 13, 2003
Loading...