MS SQL Store Procedure Optimizing -


I have attached my query results. How can I optimize this SP? Do I Need to Customize? I can get more results in 0.2 or in some case.

  Client Execution Time 18:18:18 18:18:08 18:17:49 18:17:24 18:13:18 Number of Query Profile Statistics, Deletion, and Update Statements 281 281 281 50 0 178.6000 Row impressions by insert, delete or update statement 235 235 235 44 0 149.8000 SELECT statements 4870 4870 4870 741 13 3072.8000 Select rows Return from statement 3653 3653 3653 598 37 2318.8000 Number of transactions 281 281 281 50 0 Number of 178.6000 Network Statistics Number of Server Roundtrips Customer 1 1 3 3 1,8000 TDS Packet Server 119 110 90 898 78 259,0000 Bytes Sent From 1 1 3 3 1,8000 TDS Packets Sent From Customer 138 138 284 288 197,2000 Bytes Server 327491 327491 327491 2861601 197860 808386,8000 Time Statistics Customer Processing Time 2755 3793 2364 908 332 2030,4000 Total Execution Time 3225 On Server 4294 2825 2095 1375 2762.8000 Waiting Time Answer 470 501 461 1187 1043 732,4000 Received from 

< Div class = "text" itemprop = "text">

There is a number of options you can see:

1. SQL Merge SQL Merge can be used to insert, update, and delete a single statement.

2.Output segment The SQL production block when used to back a value 'inserted' and 'removed' (new value and old value) table to a value Can be updated or updated


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -