dynamic sql be dammed

so it turns out you can't use a param (@n) in the top, but you can to
set rowcount, nice.  always remember to unset your rowcount for future
ref.