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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T23:37:23+00:00 2026-05-11T23:37:23+00:00

Is there a system SP or dmv that allows me to select indexes in

  • 0

Is there a system SP or dmv that allows me to select indexes in my DB based on columns and table names?

What I am trying to do is to drop indexes based on columns with string datatypes as I am in the process of altering my collation settings.

Thanks.

  • 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-11T23:37:23+00:00Added an answer on May 11, 2026 at 11:37 pm

    You can always determine the indices for a given column and/or table by querying the sys.indexes and sys.index_columns views:

    SELECT
        i.Name 'Index Name',
        OBJECT_NAME(i.object_ID) 'Table Name',
        c.Name 'Column Name'
    FROM  
       sys.indexes i 
    INNER JOIN 
       sys.index_columns ic ON i.index_id = ic.index_id AND i.object_id = ic.object_id
    INNER JOIN
       sys.columns c ON ic.column_id = c.column_id AND ic.object_id = c.object_id
    WHERE 
      c.name = 'Index column name'      -- this for a column name
      -- OBJECT_NAME(i.OBJECT_ID) = 'Table Name'   -- this for table name
    

    Marc

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

Sidebar

Related Questions

There is small system, where a database table as queue on MSSQL 2005. Several
Let's say at your job your boss says, That system over there, which has
I'm new to asp.net mvc world. Are there any cms system based on asp.net
Are there any stock images that come with the system that I can use
i created a system using php.. on my system..there is a form...in that form
In my system there are many types of users (4), based on the user
i want to build an app that will look like iphone sms system there
Question: In C/C++, is there any system function that accepts Unicode ? See below
I am currently making an app and website. Is there a system around that
Is there a system stored procedure to get the version #?

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.