SQL Server Architecture Question: Download MS SQL Server Architecture PDF

What is the difference between CUBE operator and ROLLUP operator?

Tweet Share WhatsApp

Answer:

CUBE generates a result set that represents aggregates for all combinations of values in the selected columns.

ROLLUP generates a result set that represents aggregates for a hierarchy of values in the selected columns.

Download MS SQL Server Architecture PDF Read All 20 MS SQL Server Architecture Questions
Previous QuestionNext Question
Please illustrate physical database architecture?Do you know what are the restrictions applicable while creating views?