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

Re: ODBC Sql Server error handling

by Laurent_R (Parson)
on Aug 13, 2013 at 19:00 UTC ( #1049325=note: print w/ replies, xml ) Need Help??


in reply to ODBC Sql Server error handling

Your ErrorHandler routine does not seem to be connecting to SQL. It is just formating the error message returned by SQL and printing the output. You could have something like:

return if $msg =~ /SQL-22003/;

right before the comment "#Strip out...". The error will not be printed, but I doubt it will solve your underlying problem.


Comment on Re: ODBC Sql Server error handling
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-12-28 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (181 votes), past polls