Hello:
I'm familiar with the TOP command and that works fine to limit my record count, using a fixed value. However, I can't get it to work if I try to use it as a parameter. Ultimately this will be a parameter chosen in SSRS, but I 'think' it's more of a query thing than a SSRS thing.
SSRS response: "must declare the scalar variable..."
Any ideas?
select top (@Limiter) *
from myTable
thanks