Hi All,
Is there anyone who could offer some advice on how to get this working, i have created a SAM template and added the component monitor "SQL Server User Experience Monitor" where i have entered the below query
SELECT BatchIdentifier, BatchProcessType, BatchStart, BatchLastUpdatepdate, BatchCompleted
FROM [HATH_ExternalComms].[dbo].[BatchControl]
where BatchTotal = '-1'
and BatchCompleted = '0'
order by BatchStart desc
however when i test it i get the following "Test failed with "Down" status on Servername Query must return at least 1 row"
If working the query should not return a value, and if it does i need it to report as down
thanks for any help
Stuart