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 526645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:47:55+00:00 2026-05-13T08:47:55+00:00

I know how to use indexes(clustured and non clustured) But when should i use

  • 0

I know how to use indexes(clustured and non clustured)
But when should i use non clustured indexes in my table.
What scenarios should be there, so as to make my column non clustured index.
I have gone throught msdn guidelines but still little bit confusion.

Should i make only unique columns as NC or should there any other columns also as NC.

If i overload my table with NC indexes then will it decrease my performance also ?

Should I use composite non-C index on columns that are foreign keys.

I know primary key should be Clustured, Unique keys should be NC but what about foreign keys.

  • 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-05-13T08:47:55+00:00Added an answer on May 13, 2026 at 8:47 am

    You can only have one clustered index per table. It doesn’t have to be the primary key, but in most cases it will be.

    Beyond that – it really depends on the queries & the tipping point for what indexes will be used. But defining indexes also means there will be an impact to DML – inserts, updates & deletes will take a slight performance hit.

    Should I use composite non clustered index(es) on columns that are foreign keys?

    Doesn’t matter what the column is, it’s the usage that matters for the optimizer to determine what index, clustered or otherwise, to use.

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

Sidebar

Related Questions

I know and use eric meyer CSS reset, but is there any more things
Now i know to use the method of float.Parse but have bumped into a
I know that can't use left join in indexed view. but I don't understand
I know you use the C based networking API to do FTP communication but
I would like to try Silex but i've some questions. I know to use
I know index increase the select query but slows down the insert query because
How many indexes should I use? This question has been asked generally multiple times,
Is there any difference between Clustered Index and Order by Clause ? I have
I have downloaded the indexes generated for Maven Central from http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/nexus-maven-repository-index.gz I would like
I know there have been a lot of questions about sql query performance improvement,

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.