InterviewSolution
Saved Bookmarks
| 1. |
Which mode tells the server to recognize || as the string concatenation operator?(a) PIPES_AS_CONCAT(b) ORS_AS_CONCAT(c) DOUBLE_PIPE_AS_CONCAT(d) LOGIC_OR_AS_CONCATThe question was asked in an interview for job.Query is from Server SQL Mode in chapter Using SQL to Manage Data of MySQL |
|
Answer» CORRECT answer is (a) PIPES_AS_CONCAT Best explanation: ‘PIPES_AS_CONCAT’, one of the many MySQL server mode values stored in the system variable would direct the server to TREAT the pipe characters as the standard SQL string concatenation OPERATOR rather than the LOGICAL or. The rest mode values are invalid. |
|