Dear all,
i have a question of the select statement for the IP address.
my selection query is as below:
select* from ip_table where ip <='121.121.22.254' and ip>='121.121.22.1"
the ip value is stored as text in MS Access.
but the ip values like 30+, 40+, 50+...99 are not returned.
that is seems that the sql interpretor only compares by each character, it will look 33 bigger than 254.
can anybody help me with this?
really thanks a lot!
kaya
i have a question of the select statement for the IP address.
my selection query is as below:
select* from ip_table where ip <='121.121.22.254' and ip>='121.121.22.1"
the ip value is stored as text in MS Access.
but the ip values like 30+, 40+, 50+...99 are not returned.
that is seems that the sql interpretor only compares by each character, it will look 33 bigger than 254.
can anybody help me with this?
really thanks a lot!
kaya