‘abc’ || ‘xyz’, when PIPES_AS_CONCAT is enabled, results in ____________

Nguyên Lê

New member
‘abc’ || ‘xyz’, when PIPES_AS_CONCAT is enabled, results in ____________
A. 0
B. 1
C. abcxyz
D. xyzabc
 
Answer: c
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’.
 

Tìm kiếm

Back
Top