[RISOLTO] Miglioramento computer non visto da 30 giorni
Pubblicato: 6 dicembre 2023 - 09:26
Buongiorno,
Suggerisco di aggiungere l'ordinamento per nome PC alla query esistente, che darebbe:
Suggerisco di aggiungere l'ordinamento per nome PC alla query esistente, che darebbe:
Codice: Seleziona tutto
SELECT computer_name, computer_fqdn, productname, computer_ad_ou, wapt_version, last_seen_on , TO_DATE(last_seen_on,'YYYY/MM/DD'), uuid
FROM hosts
where TO_DATE(last_seen_on,'YYYY/MM/DD') < CURRENT_DATE - INTERVAL '30< DAYS'
order by hosts.computer_name ASC