Change to the recursive limit on a number of procedures to support > 1000 procedures per Working Draft set
This commit is contained in:
parent
7bfc62e1b8
commit
2eadfd8ed6
@ -2455,7 +2455,7 @@ Select distinct I.ItemID,I.PreviousID,I.ContentID,I.[DTS],I.[UserID],I.[LastChan
|
|||||||
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[RangeID]=Z.[ItemID]) [Transition_RangeIDCount],
|
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[RangeID]=Z.[ItemID]) [Transition_RangeIDCount],
|
||||||
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[ToID]=Z.[ItemID]) [Transition_ToIDCount]
|
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[ToID]=Z.[ItemID]) [Transition_ToIDCount]
|
||||||
from Itemz Z join Items I on I.ItemID = Z.ItemID
|
from Itemz Z join Items I on I.ItemID = Z.ItemID
|
||||||
OPTION (MAXRECURSION 1000)
|
OPTION (MAXRECURSION 10000)
|
||||||
END
|
END
|
||||||
GO
|
GO
|
||||||
|
|
||||||
@ -2566,7 +2566,7 @@ Select distinct I.ItemID,I.PreviousID,I.ContentID,I.[DTS],I.[UserID],I.[LastChan
|
|||||||
from Itemz Z
|
from Itemz Z
|
||||||
Join Items I on Z.ItemID = I.ItemID
|
Join Items I on Z.ItemID = I.ItemID
|
||||||
Join Contents C on I.ContentID = C.ContentID
|
Join Contents C on I.ContentID = C.ContentID
|
||||||
OPTION (MAXRECURSION 1000)
|
OPTION (MAXRECURSION 10000)
|
||||||
END
|
END
|
||||||
GO
|
GO
|
||||||
|
|
||||||
@ -5918,7 +5918,7 @@ Select ItemID,PreviousID,ContentID,[DTS],[UserID],[LastChanged],
|
|||||||
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[RangeID]=[Itemz].[ItemID]) [Transition_RangeIDCount],
|
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[RangeID]=[Itemz].[ItemID]) [Transition_RangeIDCount],
|
||||||
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[ToID]=[Itemz].[ItemID]) [Transition_ToIDCount]
|
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[ToID]=[Itemz].[ItemID]) [Transition_ToIDCount]
|
||||||
from Itemz order by knt
|
from Itemz order by knt
|
||||||
OPTION (MAXRECURSION 1000)
|
OPTION (MAXRECURSION 10000)
|
||||||
END
|
END
|
||||||
GO
|
GO
|
||||||
-- Display the status of Proc creation
|
-- Display the status of Proc creation
|
||||||
@ -5972,7 +5972,7 @@ Select I.ItemID,I.PreviousID,I.ContentID,I.[DTS],I.[UserID],I.[LastChanged],
|
|||||||
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[FromID]=[C].[ContentID]) [TransitionCount],
|
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[FromID]=[C].[ContentID]) [TransitionCount],
|
||||||
(SELECT COUNT(*) FROM [ZContents] WHERE [ZContents].[ContentID]=[C].[ContentID]) [ZContentCount]
|
(SELECT COUNT(*) FROM [ZContents] WHERE [ZContents].[ContentID]=[C].[ContentID]) [ZContentCount]
|
||||||
from Itemz I Join Contents C on I.ContentID = C.ContentID Order by knt
|
from Itemz I Join Contents C on I.ContentID = C.ContentID Order by knt
|
||||||
OPTION (MAXRECURSION 1000)
|
OPTION (MAXRECURSION 10000)
|
||||||
END
|
END
|
||||||
GO
|
GO
|
||||||
-- Display the status of Proc creation
|
-- Display the status of Proc creation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user