String sql = "select * from vote_questions order by id desc limit "
+ (page - 1) * pagesize + "," + pagesize;
“limit”是MYSQL的语法,so。。。。。转为Sql server2008改怎么搞嘛
------解决方案--------------------
BETWEEN (page - 1) * pagesize AND pagesize
------解决方案--------------------
limit 转到sqlserver 就是top xxx order byxxx