Painting Blue Code
Simple, self-explanatory code snippets.
2011-09-22
TSQL - Dynamic Top N
Declare
@rows
int
;
set
@rows
=
5
;
select
top
(
@rows
)
*
from
TABLE_NAME_HERE
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment