Quantcast
Channel: Help Optimizing TSQL Query
Viewing all articles
Browse latest Browse all 8

Help Optimizing TSQL Query

$
0
0

No but I could see that being similiar. What I am doing is building a data driven web performance and load test in VS2010 Ultimate. My original query works as desired but I just wanted to see if it could be better. I am always looking to improve not just accept "good enough". 

So using VS2010 I can interact with the test and in this case I want to pass it a randomly selected userid from the 1000+ test cases. The website will then return one of three challenge questions that have been setup. I then need to identify the question posed and provide the answer so the automated test can proceed. Once done I can then ramp up to 1000 users hitting for example the login process at once and see what happens.

I wanted to get all three records for the user as it has other things I need like ssn and just hold them in a datatable property. Throughout the test when I need anything I'll access the datatable and won't hit the db again.


Viewing all articles
Browse latest Browse all 8

Trending Articles



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