hi iam executing this query
select * from orders where Freight=71.97 and 250 > (select count(*) from orders where employeeid=Shipvia)
aginst northwind database of a sqlserver along with the result of this query i want time taken to execute this query in one column
please help me on this
Loading
Karan PatelPosted Mar 4, 2010, 6:39 AM
==================================
Stopwatch sw = new Stopwatch();
sw.Start();
// your sql query and your further task
sw.Stop();
MessageBox.Show(sw.Elapsed.ToString());
Ashish SrivastavaPosted Mar 29, 2016, 5:42 AM
kiran kumarPosted Mar 5, 2010, 6:23 AM
Pramod Kumar NandagiriPosted Mar 4, 2010, 9:25 PM
thats why i want to get the time of execution of a query from the sql management studio it self
plese tell me if any commands or function r there to get the executiontime from the sql mamnangement studio please tl\