🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Recursive CTEs: all 15 questions

Quiz: Recursive CTEs · Question 14 of 15

How does SQL Server write a recursive CTE?

How does SQL Server write a recursive CTE?

  1. A.WITH RECURSIVE, like PostgreSQL
  2. B.It does not support recursive CTEs
  3. C.With just WITH; the word RECURSIVE is not used
  4. D.With CONNECT BY only
Answer & explanation

Correct answer: With just WITH; the word RECURSIVE is not used

SQL Server detects recursion from the CTE referring to itself.

Can you get the rest right without peeking?

Take the timed Quiz: Recursive CTEs quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →