Share via

Improving SP performance using Non Clustered Index.

Salil Singh 40 Reputation points
Apr 10, 2025, 6:15 PM

Hi Team,

I need to improve performance of a SP which is in a Database in SQL Server.

1.One of the Select query uses a Table, which is having clustered index on Column A. This table is joined with other tables on columns A,B and C(all are columns of same table). I am planning to create a Non Clustered index using columns A,B and C. Please confirm if this will improve my SP performance, I want to be sure on this as one of the column that is to be used in non clustered index is A on which a clustered index is already used.

  1. I have to use a filter LIKE '%ABC%' which is slowing the query, could you please let me know how could I improve the query performance here. I surely need to use %ABC%.

Please let me know if more details are needed.

Thanks,

Salil

SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
170 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.