I am providing search functionality in my website, when user searches a record then I want to display the time the query taken to get the results same as google does. When w
Well, If you really want to do it in your DB there is a more accurate way as given in MSDN:
SET STATISTICS TIME ON
You can read this information from your application as well.