What is the difference between CUBE operator and ROLLUP operator?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online SQL Server Architecture Job Interview Questions And Answers