Returned result
If run interactively then a warning (-1) will be returned to indicate that the procedure is not within a job. If there was a failure during the update of the counters then a negative 3 (-3) will be returned. Otherwise the update was successful.
Examples
The following examples all update a task row with an insert count of 27 and an update count of 30: