Forum Discussion
Anonymous
2 years agoDo you want to add it as the display name of the instance, the description of the instance, or an instance level property of the instance?
Either way, you’ll need to add a section of code to your discovery script to make the query that returns the segment for each if the sysdatabases you’re discovering. Is there a single query you can run that will return the names of the databases along with the segment for each one (I’m assuming each database only has one segment)?
So, instead of running this query in your discovery:
select name from master..sysdatabases
Is there a query you can run that would return the sysdatabase name in the first column and the segment in the second?
Related Content
- 2 years ago
- 4 days ago
- 2 years ago