Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: ODBC Sql Server error handling

by Laurent_R (Abbot)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049325]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2016-12-11 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.