Added "OPTION (MAXRECURSION 10000) to all recursive queries. Remove Change Manager stored procedure "getItemAuditsByItemID"

This commit is contained in:
Rich
2012-11-05 21:55:27 +00:00
parent 59b765e6d8
commit 173dd85ccf
4 changed files with 1387 additions and 51 deletions

View File

@@ -1338,7 +1338,7 @@ end itemtype
and ia.deletestatus in (select max(deletestatus) from itemaudits where itemid = ia.itemid)
) ia
order by deletestatus desc
OPTION (MAXRECURSION 10000)
--select * from itemz order by parentid,ordinal
RETURN
GO