Excluding IP Address Range in SQL

Viewed 27

I am looking to exclude all the ip ranges between 168.119.133.65 and 168.119.133.94 in SQL Query using where condition is there a better way to do it . Ip address are in form of strings

Instead of writing all server ip's , i am looking for a any easy way to do it

select * from where ip_address in ('168.119.133.65','168.119.133.66',....,'168.119.133.94')

0 Answers
Related