Viewing 12 posts - 1 through 12 (of 12 total)
sgmunson (12/14/2016)
Doug.F (12/14/2016)
sgmunson (12/14/2016)
Doug.F (12/14/2016)
To be completely honest, I had rewritten it with ISNULL by the time I got back...
December 15, 2016 at 7:18 am
sgmunson (12/14/2016)
Doug.F (12/14/2016)
To be completely honest, I had rewritten it with ISNULL by the time I got back to reading...
December 14, 2016 at 3:11 pm
Just a word of caution.
Handle the quotes correctly on Scott's and Lynn's examples. You might end with strings with the value 'NULL' instead of NULLs for the columns. Or you...
December 14, 2016 at 2:54 pm
Sonova...yep, I see where the hole is, in my logic =/
To be completely honest, I had rewritten it with ISNULL by the time I got back to reading the responses....
December 14, 2016 at 2:51 pm
Grant Fritchey (4/12/2016)
April 12, 2016 at 7:31 am
Grant Fritchey (4/12/2016)
Doug.F (4/11/2016)
UPDATE STATISTICS dbo.TableName WITH FULLSCAN
On all tables that are being joined with the SQL query,...
April 12, 2016 at 6:58 am
Grant Fritchey (4/12/2016)
Ron007 (4/11/2016)
and use the query hint for index.... that using in prod.
the same index will use in dev if you put...
April 12, 2016 at 6:54 am
Jacob Wilkins (4/11/2016)
April 12, 2016 at 6:52 am
Eirikur Eiriksson (4/11/2016)
Quick question, are the environments identical and with the same settings (maxdop, maxmem etc.)?Have you tried to run the query on dev with OPTION (RECOMPILE)?
😎
MAXDOP, MAXMEN, etc -...
April 11, 2016 at 2:45 pm
Ron007 (4/11/2016)
and use the query hint for index.... that using in prod.
the same index will use in dev if you put as shown...
April 11, 2016 at 2:30 pm
John Rowan (4/11/2016)
April 11, 2016 at 2:08 pm
I was thinking that as well, so I went ahead and ran a:
UPDATE STATISTICS dbo.TableName WITH FULLSCAN
On all tables that are being joined with the SQL query, unfortunately this had...
April 11, 2016 at 1:53 pm
Viewing 12 posts - 1 through 12 (of 12 total)