Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Convert IP address to numeric equivalent

By kgayda,

This script converts string-based IP addresses to their numeric equivalents so that it is easy to do arithmatic on them such as find an IP address that is within a range.

NOTE: This function calls the split function which is included in the post.

Total article views: 482 | Views in the last 30 days: 5
 
Tags
miscellaneous    
t-sql    
 
Contribute