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

  • Home
  • SEARCH
  • 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 911943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:17:45+00:00 2026-05-15T17:17:45+00:00

I have a table with a IDENTITY Column as Primary Key (a classic ID

  • 0

I have a table with a IDENTITY Column as Primary Key (a classic ID column).

SQL Server create automatically a Clustered Index for that Primary Key.

My question is:

  • Can I have a only single CLUSTERED INDEX composite with more columns?

If yes, how can I drop the default clustered index and recreate a new one with this attributes.

Thanks for your support

  • 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-15T17:17:46+00:00Added an answer on May 15, 2026 at 5:17 pm

    Yes, you can only have a single clustered index per table – the data is physically arranged by that index, so you cannot have more than one.

    I would however not advise to use a composite clustered index. Why? Because the clustered index should always be:

    • as small as possible – INT with 4 byte is perfect
    • stable – never change, so you don’t have rippling updates through all your indices
    • unique – otherwise, SQL Server will have to “uniquify” your entries with artifical 4-byte values
    • optimal would be: ever increasing

    INT IDENTITY is perfect as a clustered index – I would advise you keep it that way.

    The clustered index column (or set of columns) is also added to each and every entry of each and every nonclustered index on that same table – so if you make your clustered index large, 20, 50 bytes or more, you begin to be wasting a lot of space – on disk and in your server’s memory, which generally degrades your system performance.

    Read all about clustered indices and what they should be to be good clustered indices here:

    • GUIDs as PRIMARY KEYs and/or the clustering key
    • The Clustered Index Debate Continues…
    • Ever-increasing clustering key – the Clustered Index Debate……….again!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table that has an identity column as the Primary Key. None
I have a table with an Identity column as Primary Key. All is well
So I have a table with an identity column as the primary key, so
I have a table User which has an identity column UserID , now what
I have a pictures table that has the following columns: PICTURE_ID int IDENTITY(1000,1) NOT
I have a table that has redundant data and I'm trying to identify all
While trying to use LINQ to SQL I encountered several problems. I have table
From my experience I have learn that using an surrogate INT data type column
I have table inside a div tab. The table has 40 rows in it
I have table with 50 entries (users with such details like Name Surname Location

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.