INET_ATON
Stai visualizzando una vecchia versione di questo article. Visualizza
la versione più recente.
Sintassi
INET_ATON(espr)
Spiegazione
Data una rappresentazione stringa a ottetti puntati di un indirizzo di rete, restituisce un intero che rappresenta il valore numerico dell'indirizzo. Gli indirizzi possono essere a 4 o 8 byte.
Esempi
MariaDB [test]> SELECT INET_ATON('192.168.1.1'); +--------------------------+ | INET_ATON('192.168.1.1') | +--------------------------+ | 3232235777 | +--------------------------+
Commenti
Sto caricando i commenti......
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.