SQL Database Concepts Question:
Download Questions PDF

Do you know query execution plan?

Answer:

- The optimizer available in SQL Server optimizes the code to be effectively executed.
- A query execution plan shows how this optimizer would run the query.
- Query execution plan can be viewed by :
- Using the Show Execution Plan option available in Query Analyzer,
- Displaying Estimated Execution Plan on the query dropdown menu,
- Use the SET SHOWPLAN_TEXT ON command before running a query and capturing the execution plan event in a SQL Server Profiler trace.

Download Basic SQL Server Interview Questions And Answers PDF

Previous QuestionNext Question
Explain Differentiate between a HAVING CLAUSE and a WHERE CLAUSE?Explain Comment on Transactions?