Playing around with CHECKSUM_AGG:
select CHECKSUM_AGG ( QTY ) AS CheckSumAgg_QTY, CHECKSUM_AGG ( Distinct QTY ) AS CheckSumAgg_DistinctQTY, sum(QTY) as Sum_QTY
from (
select 4 as qty
union all
select 2 as qty
union all
select 2 as qty
union all
select 2 as qty) T
Till Next Time
Showing posts with label CHECKSUM_AGG. Show all posts
Showing posts with label CHECKSUM_AGG. Show all posts
Tuesday, April 23, 2013
Subscribe to:
Posts (Atom)