Home » MYSQL » MySQL Type Conversion in Expression Evaluation » Question
  1. ‘abc’ || ‘xyz’, when PIPES_AS_CONCAT is enabled, results in ____________.
    1. xyzabc
    2. abcxyz
    3. 0
    4. 1
    5. None of these
Correct Option: B

If the SQL mode PIPES_AS_CONCAT has been enabled, the SQL standard ‘||’ operation for string concatenation becomes valid in MySQL. Both operands are concatenated to give ‘abcxyz’.



Your comments will be displayed only after manual approval.