Couple of days before someone asked me a question that, if one same simple query getting executed from any application in three different way: 1. By inline statement 2. By calling a SP with same query 3. By calling a SP with same query, but uses the EXEC statement.
I need the difference in their performance along with the difference in their execution plan. Sir when try to execute the three different query at a same time and check the execution plan, I haven’t got any difference there, I am really puzzled here please help me out.