Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

WHat is the best index type for non uniqueness / Varchar columns in SQL 2008 R2

$
0
0

Hello All Greetings,

Please help me here with my doubt,

in my table i have two columns about a million rows, it has about 20 columns in it, three columns with name as Period, Gender so most of the time these two columns use in where clause,

Gender  will contain Either M or F , Period contains YYYY-Month (2013-December, 2013-August) etc so i would like to add a Index to these two columns so that in will increase the performance, so please let me know what type of indexes i need to add to these columns in the table,

please note that only one time we will add data to the table which will take only 2 minutes but we query the table every day

so my question what is the best index type that i need to create on columns with non uniqueness values in the column.,

Thank you In Advance,

Milan


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>