My store procedure has dynamic sql which return data. when i am calling the SP from SSMS then it is taking 4 sec but when i am calling the same store procedure from same machine by ado.net classes. (populate dataset with return data) then it is taking more time. i am not being able to figure out the reason why ado.net taking long time. please share some knowledge to diagnose this problem and fix it.
↧