A user defined function that converts an integer value to an IP address in dot notation format. This is performed by promoting a 32 bit signed integer value to a signed 64 bit bigint and converted to a binary representation of the integer.
The purpose of this script is to allow the storage of an IP address which may be indexed without seperating into 4 tinyint columns.
2001-08-22
729 reads