Developers use indexes to speed access to data in a database table. They create an index by selecting one or more columns in a table that they want to be able to search on. They can use the index as soon as they save the table. When Developers working with SQL Server “Denali”, MS SQL Server 2008 R2 and MS SQL Server 2005 want to create an index, they should follow the next steps:

C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development: Build applications with C#, .NET Core, Entity Framework Core, ASP.NET Core, and ML.NET using Visual Studio Code, 4th Edition
ASP.NET Core 3 and Angular 9: Full stack web development with .NET Core 3.1 and Angular 9, 3rd Edition
C# in Depth, 4th Edition

1. In Object Explorer, right-click the table for which they want to create an index and click Design (Modify in SP1 or earlier).

The table opens in Table Designer.

2. From the Table Designer menu, click Indexes/Keys.

3. In the Indexes/Keys dialog box, click Add.

4. Select the new index in the Selected Primary/Unique Key or Index list and set properties for the index in the grid to the right.

5. Specify any other settings for the index and click Close.

The index is created in the database when they save the table.