bibi92
asked on
deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction
Hello,
How can I modify this query for resolve 1205 : 40001 : com.microsoft.sqlserver.jd bc.SQLServ erExceptio n: Transaction (Process ID 86) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Update TST_ENP.TST_ENP.ENT_ROW_CO MM
Set LDV_TECH_DATE_SUPP=CURRENT _TIMESTAMP
Where Not Exists (Select 'X'
From TST_ENP.dbo.I$_ENT_ROW_COM M_REG_650 S
Where TST_ENP.TST_ENP.ENT_ROW_CO MM.AGE_COD E = S.AGE_CODE
And TST_ENP.TST_ENP.ENT_ROW_CO MM.DEV_COD E = S.DEV_CODE
And TST_ENP.TST_ENP.ENT_ROW_CO MM.LDV_NUM _INTERNE = S.LDV_NUM_INTERNE
)
And LDV_TECH_DATE_SUPP Is Null
And REG_CODE = SubString('REG_650', 5, 3)
Thanks
Regards
bibi
How can I modify this query for resolve 1205 : 40001 : com.microsoft.sqlserver.jd
Update TST_ENP.TST_ENP.ENT_ROW_CO
Set LDV_TECH_DATE_SUPP=CURRENT
Where Not Exists (Select 'X'
From TST_ENP.dbo.I$_ENT_ROW_COM
Where TST_ENP.TST_ENP.ENT_ROW_CO
And TST_ENP.TST_ENP.ENT_ROW_CO
And TST_ENP.TST_ENP.ENT_ROW_CO
)
And LDV_TECH_DATE_SUPP Is Null
And REG_CODE = SubString('REG_650', 5, 3)
Thanks
Regards
bibi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Doh sorry. I mis-typed. I meant to put MAXDOP 1 rather than MAXDOP 4. Mental note. Re-read post before hitting submit.
ASKER
thanks bibi
Just out of interest, what did you use to fix this issue?
Try
Open in new window