You have been assigned the task of partitioning the FactOnlineSales table on the OrderDateKey column in the dedicated SQL pool.
For this purpose, you decide to use the CREATE TABLE statement.
Complete the statement by filling the blanks with the right words.
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: A
DISTRIBUTION = HASH ( distribution_column_name )is the distribution method that assigns every row to one distribution by hashingthe value present in distribution_column_name.
The right syntax to use partition method is PARTITION ( partition_column_name RANGE [ LEFT | RIGHT ] FOR VALUES ([boundary_value [,...n]])).
Option A is correct.
Distribution and Partition are the right options to be used to complete the given Create Table statement.
Option B is incorrect.
The right syntax is to use only Distribution and Partition, not DistributionTable and PartitionTable.
Option C is incorrect.
The partition should be used instead of Collate.
Option D is incorrect.
Distribution and Partition are the right options to use.
References:
To know more about partitioning the tables, please visit the below-given link: