這個是我的查詢sql?這樣加索引對嗎,各位大牛有什么建議
select * from (select ROW_NUMBER() OVER(order by Service_Order_ID)as fuck,* from dbo.temp_Cost_Tape_Cost_Raw_Data
where 1=1 )as yyyy where fuck between 1 and 10000
這個創建索引對嗎?
create clustered index SerId_Index
on dbo.temp_Cost_Tape_Cost_Raw_Data(Service_Order_ID)
with (drop_existing=on)
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/110397.html
標籤:疑難問題
下一篇:SolidWorks
