时间:2021-07-01 10:21:17 帮助过:23人阅读
sql = "SELECT TOP 10000 * " +
" FROM(SELECT ROW_NUMBER() OVER(ORDER BY DataArticleID) AS RowNumber, *FROM( ";
。。。。。。
sql += ")table1 ) as A " +
" WHERE RowNumber > 0 ";
SQL 分页
标签:art number from rownumber order by select over sql where