T SQL Dynamic Top n Consulty
SELECT TOP (@top) * FROM tablename;
Caleb McNevin
SELECT TOP (@top) * FROM tablename;