In Microsoft SQL Server how can I get a query execution plan for a query / stored procedure?
Assuming you're using Microsoft SQL Server Management Studio