Advertisement

10.09.2005 at 10:22AM PDT, ID: 21588912
[x]
Attachment Details

Question on using indexes....

Asked by poutses in MS SQL Server

I have a large table with company IDs, salesman IDs, product IDs,  transaction dates and units bought. All the previous data except for
transaction dates (datetime) are integers. I have no unique identity on the table.

Additionally, my data are not sorted in any way in the table/

When I try to see all the table it takes around 1 minute. Where should I put my indexes and should they be clustered or non-clustered to get
better performance?Start Free Trial
[+][-]10.09.2005 at 09:20PM PDT, ID: 15050059

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.14.2005 at 04:25PM PDT, ID: 15089641

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Sign Up Now!
Solution Provided By: poogy21
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.15.2005 at 09:20AM PDT, ID: 15091676

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.15.2005 at 09:41AM PDT, ID: 15091737

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2005 at 02:36PM PDT, ID: 15111772

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32