Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8730599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:03:19+00:00 2026-06-13T09:03:19+00:00

I am in a process of adding non clustered indexes to SQL Azure DB

  • 0

I am in a process of adding non clustered indexes to SQL Azure DB and I wonder what is the difference between having multiple columns in a single non clustered index, compared to having multiple non clustered indexes with each having a single column in it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:03:20+00:00Added an answer on June 13, 2026 at 9:03 am

    the difference between having multiple columns in a single non clustered index, compared to having multiple non clustered indexes with each having a single column in it?

    Consider a table T with a clucstered PK Id column, and additionally columns A, B, C.

    A single nonclustered index containing A, B, and C could support fast lookup for queries such as:

    WHERE A > @a
    WHERE A = @a AND @b1 < B AND B < @b2
    WHERE A = @a AND B = @b AND C < @c
    

    but not

    WHERE B = @b
    WHERE C = @c
    

    in both of which cases, we can’t do any better than a table scan

    However, if we have multiple indexes, IX_A on A, etc:

    WHERE A = @a
    WHERE B = @b
    WHERE C = @c
    

    would all benefit from an index, and a composite query such as

    WHERE A = @a AND B = @b AND C < @c
    

    would have a small benefit too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have one php file which process adding of record in Database fro array.
I'm in the process of adding a Data Access Layer for our ASP.Net 2.0
I'm in the process of adding some UI functionality to a hybrid WebForms/MVC site.
I'm currently in the process of adding JNI functionality into a legacy delphi app.
I have a django 1.3 project and I'm in the process of adding text
I have problems with adding a non-android xml file init.xml to android project in
I am in the process of adding some lines of code to change the
I am in the process of adding Game Center to one of my apps.
I am in the process of adding Devise to my application. Everything seems to
There is a process that bulk inserts data into a sql table from 3

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.