Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
more useful options
 
PerlMonks  

Re: Class::DBI vs DBD::ODBC

by dbwiz (Curate)
on Sep 23, 2003 at 09:00 UTC ( [id://293478]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Class::DBI vs DBD::ODBC

The latest release of DBI introduced a new method to get the last insert id.

See the announcement in the Changelog.

However, the DBI documentation warns that this method is heavily influenced by driver implementation.

Check out this piece of advice from the DBI docs. It may be able to meet your needs. I didn't test it.

* Some drivers may need driver-specific hints about how to get the value. For example, being told the name of the database 'sequence' object that holds the value. Any such hints are passed as driver-specific attributes in the \%attr parameter.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://293478]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.