Viewing 12 posts - 121 through 133 (of 133 total)
That index gives me a marked improvement. Query time goes from 1:07 to 0:29. But something still doesn't seem right b/c if i remove the 'AND p.DGID = std.DGID' part,...
January 10, 2018 at 7:34 am
This is the only index/key on the table now. It seems to already contain the DGID column.
ALTER TABLE [dbo].[Partner] ADD CONSTRAINT [PK_Partner] PRIMARY KEY...
January 10, 2018 at 7:06 am
I wouldn't need an index on the EDIStdDocs DGID column?
January 10, 2018 at 6:49 am
I guess i should ask what i can do to be able to add the 'AND p.DGID = std.DGID' back to the query. Do i need to add an index...
January 9, 2018 at 2:52 pm
ChrisM@Work - Your query works great now. Pretty sure i found the issue. I did have to change 'COUNT(TP_PartID)' to 'COUNT(p.TP_PartID)' to fix an ambiguous name error.
The main...
January 9, 2018 at 12:22 pm
Here is ddl for sent, trade, and partner tables, the ones with the joins that seem to cause issue.
January 9, 2018 at 10:03 am
The original query only takes 40 sec to complete, that query takes 56 sec. Also, many of the returned records have an empty TP_Name field, and none of the TP_Name...
January 9, 2018 at 9:42 am
Here are the execution plans with and without the case statement. My ultimate goal would be to improve the query. I think the issue lies in joining the Trade table...
January 9, 2018 at 8:59 am
This is a query that, unfortunately, I'm having to help the software developer figure out the problem with. I tried removing the NOLOCKs but didn't seem to impact performance.
January 8, 2018 at 11:24 am
peterzeke (9/14/2010)
... to do the job that they had me volunteering to do ...
So, they were making you volunteer?
Granted, it's hard to demand payment from friends & family, but if...
September 14, 2010 at 8:08 am
Craig-315134 (9/13/2010)
A cynic might conclude, 'no good deed goes unpunished', and 'it's not what you know, but who you know'.
But the lesson I learned was, 'no-one rides for free'. The...
September 14, 2010 at 7:35 am
Is there any masking or formatting you can do on the Data Access Page column that contains the data? Sorry, i guess this is more of a question than an...
January 24, 2007 at 3:08 pm
Viewing 12 posts - 121 through 133 (of 133 total)