T SQL Dinâmico Top N Consulta
SELECT TOP (@top) * FROM tablename;
Caleb McNevin
SELECT TOP (@top) * FROM tablename;