mysql和sqlserver 区别

分页区别就在SQL语句在获取记录总数的时候不同。能具例说明吗?
都可以select count(*) from a 吗

分页区别不仅仅在于select count()

msyql 可以用select * from table limit startindex,pagesize,

而sqlserver一般是用select top n from table where id not in (select top n*(pageno-1) id from table)
温馨提示:答案为网友推荐,仅供参考
第1个回答  2010-03-23
可以.
相似回答