|
|
| more useful options | |
| PerlMonks |
Perl Query Locks A MsSQL Databaseby EEddieEmm (Initiate) |
| on Jan 23, 2013 at 18:12 UTC ( #1014976=perlquestion: print w/ replies, xml ) | Need Help?? |
|
EEddieEmm has asked for the
wisdom of the Perl Monks concerning the following question:
Dear Perl Monks I am running a Perl script on a Linux server and accessing a MsSQL database on another server. Most everything is fine except for one query. When I run a SELECT, parse through the returned data and then attempt a table update on the same table, the database locks. When I go to the database itself and try to look at the table, I get the "Waiting to execute query" message. When I kill the script back on the Linux server, everything immediately starts to work again with no issues. The script and query throw no errors. There is no indication that something is wrong. Has anyone else seen anything like this? If you have, what was your solution? I have a code snippet below that shows what I am trying to do. The problem happens when I try to run the second query. ~Ed
Back to
Seekers of Perl Wisdom
|
|