[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best column type for an IP address


Jason Bell wrote:
> 
> Hello all!
> 
> Does  MySQL have a function that converts an IP address from dotted decimal to binary, and back
> again?
> 
> Jason Bell
> 
INET_NTOA
INET_ATON

I'll leave it as an exercise to you to read Manual Chapter 7.4.12.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <mysql-thread68899@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



This mailing list archive is a service of Copilot Consulting.