Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: ODBC Sql Server error handling

by Laurent_R (Monsignor)
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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2015-11-27 03:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (717 votes), past polls