Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Re: Re: Creating custom report

$
0
0

ok, now that I am in front of a DB, here is the final query for you (thanks to Steven Klassen for the assist with the join)

 

SELECT    Nodes.NodeCaption AS 'Node',    ConfigArchive.ConfigTitle AS 'Config'
FROM    [ConfigMgmt].[dbo].[Nodes]
JOIN    [ConfigMgmt].[dbo].[ConfigArchive] ON '{' + CAST (Nodes.NodeID AS VarChar (100)) + '}' = ConfigArchive.NodeID
ORDER BY    Nodes.NodeCaption

 

Replacing [ConfigMgmt] with whatever you have named your NCM database.

 

This new format will give you results like the attached:

 

configarchive.jpg


Viewing all articles
Browse latest Browse all 8827

Trending Articles