Code Quiz
Partition Pruning Defeated by a Function
A wrapped partition key silently disables pruning, forcing a full scan across every partition.
The plan shows every partition being scanned even though only 2024 data is needed. What is the bug?
A wrapped partition key silently disables pruning, forcing a full scan across every partition.
The plan shows every partition being scanned even though only 2024 data is needed. What is the bug?