Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Multiple DB Queries using DBI

by mpeppler (Vicar)
on Nov 19, 2004 at 07:56 UTC ( [id://408960]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Multiple DB Queries using DBI
in thread Multiple DB Queries using DBI

updated: changed "physical" to "network" connections.

With DBD::Sybase multiple active $sth require multiple physical network connections.

There is a way to have multiple simultaneous queries active on a single connection by using client side cursors, but this seriously limits the type of queries that can be sent so I didn't implement it.

That said - you can have multiple $sth open at the same time as long as only one is active at a time (meaning that it has been executed and that not all results have been fetched yet.)

Michael

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found