Home Forums SQL Server 2005 T-SQL (SS2K5) selecting top rows by counting a variable total RE: selecting top rows by counting a variable total
drew.allen
SSC Guru
Points: 76948
More actions
August 18, 2016 at 2:53 pm
#1896251
Sorry, I didn't realize that you were on SQL 2005. You need SQL 2012 to use this construct. I should pay more attention to which forum I'm in.
Drew
J. Drew AllenBusiness Intelligence AnalystPhiladelphia, PA