Help Optimizing TSQL Query
Check this out from a DBA I know:SELECT [ParentLoginID], [LoginName], [LoginPwd], [LoginSSN], [MultiFactorQuestion], [MultiFactorAnswer]FROM [MMA_TestCases].[dbo].[v_CompleteLogin]WHERE ParentLoginID =...
View ArticleHelp Optimizing TSQL Query
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...
View ArticleHelp Optimizing TSQL Query
There was a similar thread few months back if I understood your problem correctly. Is it some sort of a survey and you want to pick up some random questions and random answers per question?BTW, trying...
View ArticleHelp Optimizing TSQL Query
Indeed I can provide that. Here is a dump of sample data. If you need I can provide table scripts for the related tables and the view that pulls them together.Row# ParentLoginID LoginName...
View ArticleHelp Optimizing TSQL Query
Well as I mentioned I thought about a cte but I need all three records for a given user (ParentLoginID) as they will have three different MFA questions I need to know about. I couldn't figure out how...
View ArticleHelp Optimizing TSQL Query
Well as I mentioned I thought about a cte but I need all three records for a given user (ParentLoginID) as they will have three different MFA questions I need to know about. I couldn't figure out how...
View ArticleHelp Optimizing TSQL Query
Why aer you joining the table to itself?If you can avoid INNER JOIN and just use CTE, that's the better way of doing itis that because you need Row_Number() = 2? If yes, you don't need to do inner join...
View ArticleHelp Optimizing TSQL Query
Hello,I don't have very many peers at my office to raise my TSQL skills so i'm turning here again. I have a query below that I wrote and it works but is there a better way. I also considered using a...
View Article