sql server 2005 內建的分頁機制

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script>with innerTmptable as
(
select t.age OVER (order by t.age)as RowNumber
FROM
user AS t
WHERE
t.name='userxxx'
)
select *
from innerTmptable
where RowNumber between 20 and 30

你可能感兴趣的:(sql,C++,c,SQL Server,C#)