I need some SQL help.
The default report "Backup Status of Running Config" utilises an 'advanced DB query' that goes beyond my current very low level coding skills. I understand what it is doing, but I don't know how to amend it.
The default one shows this:
SELECT OrionNodes.Caption, OrionNodes.DetailsUrl, OrionNodes.Status, OrionNodes.ChildStatus, OrionNodes.Vendor, OrionVendors.Icon, OrionNodes.IP_Address, OrionNodes.IPAddressType,OrionNodes.MachineType, NcmConfigArchive.DownloadTime FROM NCM.NodeProperties AS NcmNodeProperties INNER JOIN Orion.Nodes AS OrionNodes ON NcmNodeProperties.CoreNodeID=OrionNodes.NodeID INNER JOIN Orion.Vendors AS OrionVendors ON OrionNodes.Vendor=OrionVendors.Name LEFT JOIN NCM.ConfigArchive AS NcmConfigArchive ON NcmNodeProperties.NodeID=NcmConfigArchive.NodeID AND NcmConfigArchive.ConfigType='Running'
But I need to create a duplicate of this but that includes a filter to show only nodes that match a certain custom property. That CP is a Yes/No and is called "Node_in_BAU" - thoughts, help?