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:03 am
#1534374
and add some function to limit the records - such as
where convert(date,mydatecolumn)=convert(date,@red)
MVDBA