🎴 Flashcard Mode

SQL Online Quiz - 3

Card1 / 8
Mastered0
Review0
QuestionClick to flip

SELF JOIN not allowed in

AnswerClick to flip back
A
Indexed view
💡 Explanation:

SQL Server indexed views have strict limitations to ensure determinism and performance optimization. SELF JOINs are not allowed in indexed views because they create circular dependencies that make it difficult for the query optimizer to maintain the indexed view's integrity. Regular views, stored procedures, and triggers can all use SELF JOINs without restrictions.

Change Mode