Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Indexing Multiple Columns

Author  Topic 

jeb1217
Starting Member

1 Post

Posted - 2008-10-22 : 10:58:29
I have a table where the first two columns are Float, non null
Every within a column all values are unique.
The table does not get updated, i do a truncate and complete reload

The only query against the table is "where col1 >= @param1 and col2 <= @param1"

Does indexing col2 buy me anything?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-10-22 : 11:00:25
yup its a good candidate for index.
Go to Top of Page
   

- Advertisement -