Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Select Statement to return elapse time and not data

$
0
0

Hi,

   I am running simple SQL Select queries against my database using a tool called SQuirreL (from Sourceforge). Some of the cases my queries return a lot of data which I am not interest in, I just actually want to know how long did it take to return all the rows. 

    I have looked into the Profiler but it doesn't seem to work in SQuirreL. So it would have to be a command that I could add to the Select statement.

   So my question is, is there any command that I can add to my Select Statement that will "dispose" of the data and only return the time that took to retrieve all rows?

Thanks

Emanuel


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>