Quantcast
Viewing all articles
Browse latest Browse all 12198

How to Create Index without re Sorting the Query (sort always include in plan)

Hi All,I have query that required me to create clustered index without re sorting the query again (on the background), because my query already sorted with over order by clause to output the row_number, plz Help me to solve this isue. I use the WITH SORTED_DATA clause in my syntax to create my index, but still, my row_number is not sequential. Thanks All.Regards,Kharis H.

Viewing all articles
Browse latest Browse all 12198

Trending Articles