Viewing 14 posts - 31 through 44 (of 44 total)
sgmunson (2/16/2015)
AND O.CompanyClientMemberID IS NOT NULL
That field is already part of the rest of the JOIN condition (the specific line follows) based...
February 17, 2015 at 8:47 am
This produces the same result set in both the test environment and production. Does anyone see any logic fail on the re-write?
DECLARE @p0 DATETIME = '2099-09-09 00:00:00.000';
DECLARE @p1 INT...
February 16, 2015 at 4:55 pm
sgmunson (2/13/2015)
DECLARE @p0 DATETIME = '2013-12-23 15:09:31.000';
DECLARE @p1 INT = 1;
DECLARE @p2 INT =...
February 16, 2015 at 10:12 am
I am not seeing any yellow yields on that previous plan, do I have an option turned off in SSMS? Index reorg/rebuild script ran over the weekend and I...
February 16, 2015 at 9:45 am
I have updated the data set and DECLARE variables in my posts. Thank you for those tweaks!
February 14, 2015 at 8:28 am
Another poster asked for the execution plan. I now see that you can attach .sqlplan to this forum. Very cool! The version attached is from production and shows...
February 13, 2015 at 7:12 pm
This will install a sample db, tables and some objects. I put around 20 rows of anonymized data in each table:
CREATE DATABASE OutBox;
GO
USE [OutBox]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE...
February 13, 2015 at 6:10 pm
Not the CROSS APPLY, but the CROSS JOIN in [t4].
February 13, 2015 at 2:53 pm
There are 92k rows in the OutBoxData table. Is this query processing 92k rows x each OutBoxAN by using the CROSS JOIN?
I took the SELECT query that creates data...
February 13, 2015 at 1:52 pm
Big fan of the sp_WhoIsActive.
Still have not had a chance to try and grab the rest of the batch sql, but I like the WITH [NOLOCK]. A scan for...
February 12, 2015 at 4:01 pm
Thanks for taking a look, you rock!
I know this is a batch process and may be able to snag the full thing by using Adam Mechanic's sp_WhoIsActive by changing...
February 11, 2015 at 3:33 pm
Unfortunately this query is the only part of the transaction that I can grab. The rest is buried in .NET code that I do not have access to. ...
February 11, 2015 at 3:06 pm
To be clear, this is a transaction that puts a lock on a table and the transaction does not complete, causing a block not a deadlock.
February 11, 2015 at 2:25 pm
I did not even notice the star rating until you pointed it out. This is my first submission and certainly did not submit for a super rating, just to...
December 12, 2014 at 8:44 am
Viewing 14 posts - 31 through 44 (of 44 total)