Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Perl Query Locks A MsSQL Database

by vincent_veyron (Sexton)
on Jan 25, 2013 at 18:08 UTC ( #1015385=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl Query Locks A MsSQL Database
in thread Perl Query Locks A MsSQL Database

"is there any reason you're executing your statement within an eval?"
From perldoc -f eval : It is Perl's exception trapping mechanism; so you can trap errors and write eg :

if ( $@ ) { if ( $@ =~ /foreign key/ ) { } else { }
http://vincentveyron.com Logiciels de gestion des contentieux juridiques et des sinistres d'assurance


Comment on Re^2: Perl Query Locks A MsSQL Database
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2015-07-07 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (90 votes), past polls