insert into table select ... union all select...
insert into table (...) values (...) , (...)
insert into table select ... from ...

高效分页

select t.* 
from 
(
select top 6926911 * ,ROW_NUMBER() over (order by ID desc ) RN
from test
)
t where RN>6926901
--和Oracle有效率的写法一样,都是尽可能在子查询去过滤

 

 

相关文章:

  • 2021-07-10
  • 2021-03-31
  • 2021-07-06
  • 2021-08-09
  • 2021-10-25
  • 2021-06-05
  • 2021-10-28
  • 2021-08-11
猜你喜欢
  • 2021-04-09
  • 2021-11-15
  • 2022-12-23
  • 2021-12-30
  • 2021-12-10
  • 2021-11-18
相关资源
相似解决方案