Home » MYSQL » Data Types » Question
  1. To convert a string to an int, the function is _________________.
    1. INET_STOI()
    2. INET_ITOS()
    3. INET_NTOA()
    4. INET_ATON()
    5. None of these
Correct Option: D

In MySQL, the function used to convert a string to an integer is INET_ATON(). On the other hand, the function INET_NTOA() converts a string to the corresponding integer value.



Your comments will be displayed only after manual approval.