我使用sql server查询
WITH OrderedOrders AS ( SELECT a.ArticleID, a.Title, a.Summary, b.PageText, a.LastUpdate, ROW_NUMBER() OVER (ORDER BY a.ArticleID desc) AS 'RowNumber'
FROM DnnForge_NewsArticles_Article a
left join DnnForge_NewsArticles_Page b on b.ArticleID=a.ArticleID
where a.MOduleID=796
)
SELECT * FROM OrderedOrders WHERE RowNumber BETWEEN 1 AND 10
我尝试在运行良好的Sql Server Management Studio上进行测试,但是当我在php上测试时出现了一些错误:[Microsoft][SQL Server Native Client 11.0]Cursor type changed
请帮帮我