T SQL Dynamic Top N Query

SELECT TOP (@top) * FROM tablename;
Caleb McNevin