• SQLRNNR (7/29/2014)


    murnilim9 (7/28/2014)


    SQLRNNR (7/28/2014)


    Your query mandates a table/index scan. There is no filter/predicate/where clause on the query so it will return all records from the table. For the query, an index scan is the most efficient means of getting the data for this query.

    If you want it to perform a seek, add a where clause to the query.

    thanks for your response. I Appreciate it !

    Do you mean index scan equal with table scan ? so it means even though that table has no index , it will still produce the same performance ?

    Sometimes an Index Scan is the same as a Table Scan. Sometimes one will perform better than the other. In my last post I was really meaning index or table scan when i put index/table. But if you are getting clustered index scan - that is a table scan.

    thanks !!!

    cheers