Home » MYSQL » MySQL Access Control and Security » Question
  1. What does ‘abc’ || ‘xyz’, when PIPES_AS_CONCAT is enabled, result in?
    1. xyzabc
    2. abcxyz
    3. 1
    4. 0
    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.