select top (25) news_id,bk_id,news_title,news_date from tb_news where news_id not in (select top((@page-1)*25) news_id from tb_news) and bk_id=@bk
asp.net分页中的SQL语句,在SQL Server 2005中没有问题,在SQL Server2000中就会就会报下面的错误。
第 1 行: '(' 附近有语法错误。
请各位高手帮忙看看,该怎么改能让它在2000中也能用。
asp.net分页中的SQL语句,在SQL Server 2005中没有问题,在SQL Server2000中就会就会报下面的错误。
第 1 行: '(' 附近有语法错误。
请各位高手帮忙看看,该怎么改能让它在2000中也能用。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货