Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 avoiding work at the Monastery: (9)
As of 2014-07-11 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls