Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: sqlconnection question

by busunsl (Vicar)
on Aug 14, 2009 at 07:17 UTC ( #788548=note: print w/ replies, xml ) Need Help??


in reply to Re^2: sqlconnection question
in thread sqlconnection question

Why do you want to close the connection anyway?

There should be no problem with something like:

sth1 = prepare select sth1->execute sth2 = prepare select sth2->execute sth3 = prepare insert while () { sth1->fetch sth2->fetch sth3->execute } sth1->finish sth2->finish sth3->finish
Unless your database prevents having multiple statements at the same time.


Comment on Re^3: sqlconnection question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2015-07-04 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls