Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20616

Re: Re: Report On Nodes Without Particular Application Template Assigned

$
0
0

Screenshot - 26.11.2013 , 16_15_30.png

if notinthe spellingdavayassqlcode


1)------------------------------------------------------------

   SELECT DISTINCT NodeID, Caption 

    FROM Nodes 

    Where NodeID not in (SELECT Nodes.NodeID FROM Nodes, APM_CurrentStatusOfApplication 

                                      Where Nodes.NodeID = APM_CurrentStatusOfApplication.NodeID and 

                                      APM_CurrentStatusOfApplication.ApplicationName LIKE '%Test%' )

         and   Vendor like '%Windows%'

2)------------------------------------------------------------

SELECT DISTINCT Nodes.NodeID as NodeID, Caption   

FROM Nodes, APM_CurrentStatusOfApplication 

Where Nodes.NodeID = APM_CurrentStatusOfApplication.NodeID 

          and Nodes.NodeID notin (SELECT Nodes.NodeID FROM Nodes, APM_CurrentStatusOfApplication 

                                                  Where Nodes.NodeID = APM_CurrentStatusOfApplication.NodeID and 

                                                  APM_CurrentStatusOfApplication.ApplicationName LIKE '%Test%'  )

          and   Nodes.Vendor like '%Windows%'

---------------------------------------------------------------


Viewing all articles
Browse latest Browse all 20616

Trending Articles