Quantcast
Viewing all articles
Browse latest Browse all 8827

Re: Customized "End-Of-Support" view query

Hmm...  That depends on where that info comes from.   Try this query and let me know if the MachineType column has the info you want?

 

SELECT ToString(Year(EP.NodeProperties.EndOfSupport)) + '-' + ToString(Month(EP.NodeProperties.EndOfSupport)) + '-' + ToString(Day(EP.NodeProperties.EndOfSupport))  AS End_Of_Support, EP.Model, EP.Node.MachineType, COUNT(EP.NodeProperties.NodeID) AS Num_Devices, MIN(EP.NodeProperties.EosLink) AS [_LinkFor_Model], ToString('/Orion/NCM/Resources/Eos/EosMatching.aspx') AS [_LinkFor_Num_Devices]

FROM NCM.EntityPhysical EP

WHERE (EP.ContainedIn = 0) AND (EP.NodeProperties.EndOfSupport < (GetDate()+180))

GROUP BY EP.Model, EP.Node.MachineType, EP.NodeProperties.EndOfSupport

ORDER BY EP.NodeProperties.EndOfSupport, EP.Model


Viewing all articles
Browse latest Browse all 8827

Trending Articles



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