Is there a built in time how long a command took in SqlCommand?

You could turn on Time statistics ( SET STATISTICS TIME ON ).

You could turn on Time statistics (SET STATISTICS TIME ON). This would then send a message back to the client, that would look something like: SQL Server Execution Times: CPU time = 0 ms, elapsed time = 341 ms. You'd need to add an event handler to the connection's InfoMessage event, and then parse/display this text.

Although obviously, text parsing of info messages is always likely to be a little brittle (e.g. May not work on non-English installs), but if you just want to display the text, it should be fine.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions