CREATEPROCEDURE[dbo].[SetNotificationAttempt] @Attemptint, @SecondsToAddint, @NotificationIDuniqueidentifier AS update [Notifications] set [ProcessStart]=NULL, [Attempt]=@Attempt, [ProcessAfter]=DateAdd(second,@SecondsToAdd,GetUtcDate()) where [NotificationID]=@NotificationID
GO GRANTEXECUTEON[dbo].[SetNotificationAttempt]TO[RSExecRole] GO