Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含太多数据的表(10 cr)。出于分页目的,我使用了 ROW_NUMBER() OVER(按 id 排序),但它的选择速度非常慢。所以请给任何替代解决方案?(使用维里卡)
您可以创建一个带有标识列的临时表。好读
如何对 SELECT Transact-SQL 语句中的行进行动态编号