Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 examining the Monastery: (6)
As of 2014-11-22 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (118 votes), past polls