When Do SQL Server Sorts Rewind?
SQL Performance
OCTOBER 7, 2020
Its raison d’être is to cache result rows from a plan subtree, then replay those rows on subsequent iterations if any correlated loop parameters are unchanged. Table-valued functions use a table variable, which can be used to cache and replay results in suitable circumstances. Spools are the least costly way to cache partial results.
Let's personalize your content