InterviewSolution
Saved Bookmarks
| 1. |
If the PIPES_AS_CONCAT is disabled, ‘abc’ || ‘xyz’ results in ____________(a) 1(b) 0(c) error(d) -1 |
|
Answer» Correct choice is (b) 0 Explanation: When the SQL mode PIPES_AS_CONCAT is disabled, the SQL standard ‘||’ operation for string concatenation is not valid in MySQL. Both operands are converted to zero. So the result is zero. |
|