Viewing 2 posts - 1 through 2 (of 2 total)
I added the max expression and fix it.
AND (select max(datediff(ss,last_batch,getdate()) ) FROM sysprocesses where blocked = @blocker) > 5
October 27, 2010 at 2:21 pm
#1243179
I got this error message when trying to run this script:
(1 row(s) affected)
(0 row(s) affected)
Msg 512, Level 16, State 1, Line 18
Subquery returned more than 1 value. This is not...
October 27, 2010 at 9:17 am
#1242975