Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 20202

SQL Monitor / Isolation level / sys.databases

$
0
0

Hello Thwack-Folks!

 

I've set up a SQL Server User Experience Monitor like several times before, but this time I do have the following scenario:

I am going to return the amount of databases with active isolation level

 

USE msdb

SELECT  SUM(snapshot_isolation_state) FROM sys.databases

 

It is a simple query and executed under my user I get an tinyinteger as result (for example 10)

But executed via Orion I do get "Test failed with Down Status on Server123. Query result is NULL"

 

I am not quite sure what exactly happens, but I assume it has something to do with the view sys.database.

Please let me know what steps I could try OR what other possibilities there are, to check the isolation levels.

 

Thank you in advance!

-FRA


Viewing all articles
Browse latest Browse all 20202

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>