Location: lckmgr.cpp:385
Expression: 0
SPID: 94
Process ID: 3752
Description: Too many parallel nested transactions
我的脚本有很多表要遗漏连接,并且有一个表遗漏连接本身,该表格有2,100,000条记录。当我在sql server 2005中运行脚本时,它会返回此错误消息:并行嵌套事务过多。
如何处理?请给我一些帮助。非常感谢。
LEFT OUTER JOIN
DW.HouseholdDetail H
ON H.HouseholdCompositionID = T.HouseholdCompositionID
LEFT OUTER JOIN
T_IC_CODE TRole
ON H.TenancyRoleCode = TRole.Code_ID
LEFT OUTER JOIN
DW.HouseholdDetail RH
ON H.RelatedToClientCoreID = RH.ClientCoreID
AND RH.HouseholdCompositionID = H.HouseholdCompositionID
LEFT OUTER JOIN
T_IC_CODE RTRole
ON RH.TenancyRoleCode = RTRole.Code_ID
LEFT OUTER JOIN
#TenantErrM AS TE
ON T.TenancyAccountID = TE.TenancyAccountID