MySQL STRCMP() FunctionThe strcmp() is a String function of MySQL. This function compares the given two strings. This function returns 0 if both the strings are same, -1 if the first string is smaller than second else it returns 1. SyntaxParameters:Str1 and str2: two strings to be compared Returns:
Example 1Output: Example 2Output: Example 3Output: Next TopicMySQL String |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India