Fixes problem of PROMS exiting with an error when adding a new procedure
This commit is contained in:
parent
61507043d4
commit
fe3ba6f8eb
@ -10837,7 +10837,7 @@ WITH EXECUTE AS OWNER
|
|||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
SELECT
|
SELECT
|
||||||
dbo.ve_GetParentItem(ii.[ItemID]) ParentID,MAX(CONVERT(bigint,ii.[LastChanged])) LastItemChange
|
isnull(dbo.ve_GetParentItem(ii.[ItemID]),0) ParentID,MAX(CONVERT(bigint,ii.[LastChanged])) LastItemChange
|
||||||
FROM [Items] ii
|
FROM [Items] ii
|
||||||
WHERE CONVERT(bigint,ii.LastChanged) > @LastChanged
|
WHERE CONVERT(bigint,ii.LastChanged) > @LastChanged
|
||||||
-- AND cc.UserID != @UserID
|
-- AND cc.UserID != @UserID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user