Home Forums SQLServerCentral.com Anything that is NOT about SQL! Each GROUP BY expression must contain at least one column that is not an outer reference. RE: Each GROUP BY expression must contain at least one column that is not an outer reference.
MVDBA (Mike Vessey)
SSC-Insane
Points: 21797
More actions
September 6, 2012 at 4:38 am
#1534352
you don't need the group by clause... @readingdate is a variable, not a cloumn
MVDBA