šŸ’” Quick Tip of the Day: Indexes or Indices in SQL Server?

Did you ever wonder if the plural of index in SQL Server should be indexes or indices? You’re not alone—this question comes up more often than you’d think.

The Short Answer

In SQL Server (and in most database documentation), the correct term is indexes.

Why ā€œIndexesā€?

  • Microsoft Documentation → The official SQL Server docs consistently use indexes, not indices. For example, you’ll find references like ā€œclustered indexesā€ or ā€œnonclustered indexesā€.
  • Industry Usage → Within the database and developer community, ā€œindexesā€ is the standard plural. When you’re writing scripts, documentation, or emails about SQL Server, ā€œindexesā€ will be immediately clear.
  • Clarity → In tech, plain English often wins. ā€œIndexesā€ avoids the academic or financial flavor that ā€œindicesā€ carries.

When You Might See ā€œIndicesā€

  • Math/Statistics → In pure mathematics, ā€œindicesā€ is the traditional plural (e.g., tensor indices).
  • Finance → In the stock market, we talk about ā€œmarket indicesā€ like the S&P 500.
  • Personal Preference → Some people simply prefer ā€œindices,ā€ especially if they come from those fields.

What to Use in SQL Server Work

Stick with indexes when writing queries, documentation, or communicating with other DBAs and developers. It matches Microsoft’s terminology and the shared language of the SQL Server world.


āœ… Takeaway: In SQL Server, it’s indexes. ā€œIndicesā€ isn’t wrong in general English, but if you want to be consistent and understood quickly in the database community, always go with indexes.


Discover more from SQLYARD

Subscribe to get the latest posts sent to your email.

Leave a Reply

Discover more from SQLYARD

Subscribe now to keep reading and get access to the full archive.

Continue reading