Hi Tech Guru's out there,
I am trying to query NCM.Configarchive to find an IP address in the config file but it is not working when i include more conditions:
SELECT TOP 5 ConfigArchive.NodeProperties.Nodes.Caption, ConfigID, NodeID, Config
FROM NCM.ConfigArchive
where (`ConfigArchive.NodeProperties.Nodes.Caption` LIKE 'FW1%' OR `ConfigArchive.NodeProperties.Nodes.Caption` LIKE 'LB1%' ) AND DownloadTime > ADDDAY(-1, GETDATE() AND config like '%10.X.X.X %')-----------------is not working,
but when i simply try,
SELECT TOP 5 ConfigArchive.NodeProperties.Nodes.Caption, ConfigID, NodeID, Config
FROM NCM.ConfigArchive ------------------------>works fine
Is there any better way to search config archive with a better Query?