SDU Tools: Check if an IP address is valid using T-SQL

added by DotNetKicks
9/12/2019 2:00:55 PM

1 Kicks, 203 Views

Every now and again, I need to store IP address values in T-SQL and I want to check if the string that I'm passed is a valid IP address. So, in our free SDU Tools for developers and DBAs, we added a simple tool that works that out. It's called IsIPv4Address.