Google News
logo
MySQL - Quiz(MCQ)
The function used to convert a string to an int is ____
A)
INET_STOI()
B)
INET_ITOS()
C)
INET_NTOA()
D)
INET_ATON()

Correct Answer :   INET_ATON()


Explanation : 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.

Advertisement