1.

If the operands are non binary strings, LIKE compares them according to their collation.(a) True(b) FalseI got this question in an interview.The question is from Expression Evaluation and Type Conversion in section Data Types of MySQL

Answer» CORRECT choice is (a) True

The best explanation: In MySQL, the LIKE OPERATOR compares its operands as BINARY STRINGS if either operand is a binary string. If the operands are non binary strings, the LIKE operator compares them according to their COLLATION.


Discussion

No Comment Found

Related InterviewSolutions