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 5:01 am
#1534371
what is the date column on the levels table called then ? you didn't post the table structure so we can't really help
but you need to change @reading date to be the date column in levels table
MVDBA