• try inserting into the temp table without an index (or just use select into ) and without the order by, then create the clustered index after the insert.

    Also, create the index as a unique clustered index if rownumber-dataset are in fact all unique.

    The probability of survival is inversely proportional to the angle of arrival.