InterviewSolution
Saved Bookmarks
| 1. |
What does ‘abc’ || ‘xyz’, when PIPES_AS_CONCAT is enabled, result in?(a) 0(b) 1(c) abcxyz(d) xyzabc |
|
Answer» The correct answer is (c) abcxyz Explanation: 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’. |
|