Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Archive > 2017December18 - Deletes > SQL query to find mangled IP addresses

SQL query to find mangled IP addresses

Table of contents
Created by Norsolihati Selamat, last modified by Kevin.Swinson on Dec 18, 2017

Views: 522 Votes: 0 Revisions: 5

Overview

SQL query to find mangled IP addresses that do not have the correct number of octets, NULL or blank.

Environment

All Orion Core products

Detail

Use the following SQL query to find mangled IP addresses that do not have the correct number of octets, NULL or blank:

SELECT NodeID, IP_Address, Caption
FROM NodesData
WHERE IP_Address NOT LIKE '%.%.%.%' OR
IP_Address LIKE '%.%.%.%.%' OR

IP_address is NULL OR IP_Address = ''

 

 

 

Last modified

Tags

Classifications

Public