Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Re: SQL Troubles

by growlf (Pilgrim)
on Dec 01, 2001 at 21:02 UTC ( [id://128883]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: SQL Troubles
in thread SQL Troubles

But did you not find that by using the $dbh, that the connection id was unique in the last post of that thread, and that this does prevent loosing the correct last_insert_id?

I think this is a very important thread, and I for one hope that I have not been badly mistaken in a few apps that I have written that use this technique. *cringes*

*G*

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: SQL Troubles
by George_Sherston (Vicar) on Dec 03, 2001 at 16:35 UTC
    I agree it's pretty important! The sledgehammer / nut solution I used (first part of the post you reference) *does* solve the problem. I didn't try out crazyinsomniac's more elegant method, so I don't * know* that it works, but given the author I wd have high confidence in it. But I'd try it out before using it!

    § George Sherston

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found