Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-11-28 19:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (744 votes), past polls