MS SQL Server – 87 – Partitioning MCQ

87 – Partitioning MCQ

1 / 23

1. What is the primary purpose of table partitioning in SQL Server?

2 / 23

2. Which statement is true about partitioning in SQL Server?

3 / 23

3. What is a common use case for table partitioning in SQL Server?

4 / 23

4. Which SQL Server feature is used to define and manage table partitions?

5 / 23

5. In SQL Server, which partitioning function is commonly used to divide data into ranges based on a column’s values?

6 / 23

6. What is the purpose of the PARTITION BY clause in SQL Server?

7 / 23

7. In SQL Server, what does the ORDER BY clause do when used with the PARTITION BY clause in a query?

8 / 23

8. What is the purpose of the ROWS BETWEEN clause in SQL Server window functions?

9 / 23

9. Which window function in SQL Server returns the rank of each row within a result set?

10 / 23

10. In SQL Server, what does the PARTITION BY clause do when used with window functions?

11 / 23

11. Which clause is used to specify the window or frame of rows for a calculation in SQL Server window functions?

12 / 23

12. In SQL Server, which window function is used to calculate the cumulative distribution of a column’s values?

13 / 23

13. In SQL Server, what is the purpose of the OVER clause when used with window functions?

14 / 23

14. Which SQL Server window function returns the row number of each row within a result set?

15 / 23

15. What is the primary benefit of using window functions in SQL Server?

16 / 23

16. In SQL Server, what does the PARTITION BY clause do when used with window functions?

17 / 23

17. Which SQL Server window function assigns a unique number to each row within a result set?

18 / 23

18. In SQL Server, what is the purpose of the ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW clause?

19 / 23

19. In SQL Server, what is the purpose of the ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING clause?

20 / 23

20. Which SQL Server window function assigns a rank to each row within a result set but leaves gaps for tied values?

21 / 23

21. In SQL Server, what does the PARTITION BY clause do when used with window functions?

22 / 23

22. Which SQL Server window function divides the result set into roughly equal parts or percentiles?

23 / 23

23. In SQL Server, what is the purpose of the ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING clause?

Your score is

0%