| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Peter Brawley | Date: | March 25 2006 2:27am |
| Subject: | Re: Comparing x.x.x.x strings | ||
| View as plain text | |||
>When I compare two strings in mask (x.x.x.x) the comparation is not
true (for my question :D)... look:
>select '3.2.0.13' > '3.2.0.2' -> FALSE
>I want this command return TRUE, but it is returning FALSE.
select inet_aton('3.2.0.13') > inet_aton('3.2.0.2');
+----------------------------------------------+
| inet_aton('3.2.0.13') > inet_aton('3.2.0.2') |
+----------------------------------------------+
| 1 |
+----------------------------------------------+
PB
>
| Thread | ||
|---|---|---|
| • Comparing x.x.x.x strings | Lucas Vendramin | 24 Mar |
| • Re: Comparing x.x.x.x strings | Rhino | 24 Mar |
| • Re: Comparing x.x.x.x strings | Peter Brawley | 25 Mar |
| • Re: Comparing x.x.x.x strings | Jay Paulson | 24 Mar |
| • Re: Comparing x.x.x.x strings | Lucas Vendramin | 27 Mar |
| • Re: Comparing x.x.x.x strings | Jake Peavy | 27 Mar |
| • Re: Comparing x.x.x.x strings | Dan Nelson | 24 Mar |
