Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Auto-Increment and DBD Agnosticism

by castaway (Parson)
on Jun 22, 2004 at 19:05 UTC ( [id://368823]=note: print w/replies, xml ) Need Help??


in reply to Auto-Increment and DBD Agnosticism

Have you looked at last_insert_id in the DBI documentation? This is a generic implemenation of what you are already using, available since DBI v1.38.

C.

Replies are listed 'Best First'.
Re^2: Auto-Increment and DBD Agnosticism
by skyknight (Hermit) on Jun 22, 2004 at 19:25 UTC

    It's not clear to me how well supported that is. I have heard that it isn't yet a bullet proof way to go about things.

    Update: I just looked at the DBI that came installed on my installation, a Fedora Core 1 distro, and the DBI that comes installed on it is 1.37! :-( I am quite leery about relying on a version that even I don't have installed by default. I wonder how reasonable it is to stipulate that others upgrade their DBI to 1.38. *sigh*

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://368823]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found