.. _`其它函数(MySQL)`:

其它函数
^^^^^^^^^^^^^^

.. _`INET_ATON(MySQL)`:

INET_ATON
~~~~~~~~~~~~~~~

**语法：**

.. code::

    inet_aton(expr)

.. figure:: images/inet_aton.png
    :align: center


**功能：**

用于将IPv4地址转换为无符号整数。

**例子：**

.. code::

    SELECT inet_aton(‘2’)；

     inet_aton(‘2’)
    ----------------
               NULL
