in reply to Re^4: Dead Lock replication in Sql server
in thread Dead Lock replication in Sql server
FYI, you can create a multiline string with this syntax:
my $sql = <<_SQL_; BEGIN TRAN Update my_test1 set a = '33' where b= 2 WAITFOR DELAY '00:00:05' Update my_test set a = '44' where b= 1 COMMIT _SQL_
Your code has many typos and mistakes, there's no way it even compiles. So you can't have been executing that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Dead Lock replication in Sql server
by sunil19 (Initiate) on Jul 03, 2017 at 05:56 UTC | |
by poj (Abbot) on Jul 03, 2017 at 07:50 UTC |