November 10, 2020 at 12:00 am
Comments posted to this topic are about the item Self-numbered primary key creation
November 10, 2020 at 10:02 am
I'm sorry, but I just don't understand what is being asked here.
November 10, 2020 at 7:30 pm
The wording is confusing, but I believe the question is trying to ask:
"Given that SQL Server creates statistics for a primary key upon its creation, what will be the state of the histogram for the statistics of the primary key column above?"
1 - The histogram is fully created and populated with the distribution of the data in the table
2 - The statistics will be created, but without any histogram distribution details
November 10, 2020 at 8:50 pm
Just to be sure... the CTE's that generate the sequence in the code are NOT "recursive" CTEs. They're "cascading" CTE's and there's a huge difference in both performance and resource usage.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply