Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Can i execute two queries connecting to same DB at a time.

by Corion (Pope)
on May 07, 2009 at 07:02 UTC ( #762502=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Can i execute two queries connecting to same DB at a time.
in thread Can i execute two queries connecting to same DB at a time.

What part of Connection is busy with result and my reply:

you still have a statement handle open and did not ->finish() it before trying to issue another SQL statement
is giving you problems?

Your code is opening a second SQL statement before retrieving all results from the first SQL statement. This does not work for your combination of database, OS and DBD.


Comment on Re^4: Can i execute two queries connecting to same DB at a time.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-12-25 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls