Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: simple minded DBI timeout

by erix (Parson)
on Jan 06, 2018 at 22:47 UTC ( #1206840=note: print w/replies, xml ) Need Help??


in reply to simple minded DBI timeout

That 'DBI:ODBC:' in the connectstring means you're using DBD::ODBC. I see there is a odbc_query_timeout in DBD::ODBC. Does it not work in your case?

http://search.cpan.org/~mjevans/DBD-ODBC-1.56/ODBC.pm#odbc_query_timeout

(and as it says there, /t/20SqlServer.t has an example)

I don't know if it's better than what you have but it sure looks simpler :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2019-12-14 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?