Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Partitioning Question

$
0
0

Partitioning

If I partition a table based an int column using standard range values, when selecting from that table specifying that column, the query will only hit the partition(s) that contain the data needed.

If I decided to partition the table based on the modulo of that column, using a persisted computed column and then do the same select, will the query analyser know which partitions are effected or will it have to check all the partitions?

Alan


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>