employer cover photo
employer logo
employer logo

Emergency Reporting

Is this your company?

Emergency Reporting Interview Question

How would you go about addressing performance issues in a T-SQL database?

Interview Answer

Anonymous

Aug 9, 2018

Use a clustered index on the column most used in JOIN statements, add non-clustered indexes on other columns commonly used in the WHERE clause, and use cross apply and table valued functions to simplify the time needed for the query engine to make a query execution plan on queries with many joins.