SQL Server Multiple Attribute Indexing -


can create index on multiple attributes in sql server, i've been searching quite while , have found no information this. in advance!

yes, can.

when creating index list columns want index.

this example creates index on 2 columns of table:

create table #peter (a int, b int, c varchar(500));  create index idx_peter_a_b on #peter(a, b); 

you should test , validate such index useful queries.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -