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
The create index right?
create clustered index SerId_Index
On dbo. Temp_Cost_Tape_Cost_Raw_Data (Service_Order_ID)
With (drop_existing=on)