Quantcast
Channel: THWACK: Popular Discussions - Script Lab
Viewing all articles
Browse latest Browse all 9937

Am I on the right track using this SQL query within APM?

$
0
0

I'm trying to build a monitor to tell me when any database gets added to a SQL server or else gets removed.

 

This query below will list databases when used with Orion Database Manager or else Visual Studio, however, I'm trying to automate this using APM.

 

Here's the query

 

use master

SELECT name FROM sysdatabases

 

But when I try to use it as an APM component I get this when 'testing' it against a SQL server node:

 

Testing on node xxxxxxx : failed with 'Down' status

Unable to convert query result.

 

Does anyone have any suggestions? Thanks!!


Viewing all articles
Browse latest Browse all 9937

Trending Articles



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