I have a table FT containing a column named IPaddress. The data in the column are all IP address in the form of "100.45.4.7". I am just wondering if I could select all those IP addresses ranging from 100.45.x.x to 100.150.x.x. (i dont care about the last two nodes). I have this following code that was running without error, but i am not sure if I got it right.
select * from FT where IPaddress like "100.[45-150]%"
thx!