Knowledge Walls
John Peter
Pune, Maharashtra, India
INET_ATON() and INET_NTOA() Method in Mysql with Example
19571 Views
INET_ATON and INET_NTOA 
INET_ATON() method is converting ip address to number.
INET_NTOA() method is converting number to ip address.

Example
SELECT INET_ATON("192.168.1.1");
SELECT INET_NTOA(3232235777);
Output 
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details