I want to check the estimated number of rows of a query in MS SQL Server. I can right click on the query and select "display estimated execution plan". but I want to do the exact thing with a hard code query. Is there any way to do this without using the GUI?
Sql-server – Execution Plans Query
execution-plansql server
Related Question
- Sql-server – Incorrect execution plan
- Sql-server – How to control execution plans in SQL Server
- Sql-server – How to check actual execution plan of a query after it has been executed
- Sql-server – Different execution plans in SQL Server for same query but different offset
- Sql-server – way to see what were the Candidate Execution Plans generated by the Query Optimizer
- Sql-server – SQL extended event captured only the estimated execution plan but no actual execution plan
Best Answer
Use:
This will give the XML, and you should be able to see the Estimates in there.