Question 181Asked in DSSSB TGT Computer Science, 7 Feb 2024, Shift 2 (12:30 PM)

Which of the following operator is used as concatenation operator in SQL?

  1. A++
  2. B“ ”
  3. C# #
  4. D| |
Show answerHide answer

Correct answer: (D) | |

Explanation

|| is the standard SQL string concatenation operator, e.g. 'ab' || 'cd' gives 'abcd'.

From DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM)

This is question 181 of DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.