Try this:
DECLARE @Counter as intSET @Counter = 5SELECT TOP (@Counter) * FROM Table1 ORDER BY ID DESC
No comments:
Post a Comment