Viewing 15 posts - 76 through 90 (of 389 total)
As normal
update statistics XYZ on table on primary node.
May 5, 2016 at 4:15 am
you could try doing left joins if the query isn't fast enough.
It may give better speed, but be careful of the possibility of duplicating rows.
May 4, 2016 at 7:53 am
deepti.khatuja (5/4/2016)
didnt understand examples
His example gives you a way of seeing the type of issues you could have with differing collations.
If you don't understand enough of collation to understand the...
May 4, 2016 at 6:40 am
TheSQLGuru (5/3/2016)
I have been consulting on SQL Server since the mid-1990s and I can count on two hands the number of times I have seen...
May 3, 2016 at 8:58 am
J Livingston SQL (4/28/2016)
not getting the expected results for the following
[/code]
Hi
Yes seems to not work in this case, strangely. I am guessing cos the CTE is making multiple roots to...
April 28, 2016 at 2:07 pm
your partitioning function will tell you how the data is split.
You can find that under storage in that dataase.
April 28, 2016 at 2:50 am
sunil.mvs (4/27/2016)
Hi ,MAX(Syskey) is not required . I made it , when i was doing hit and trail .
Thanks
Surya Sunil
Tried this, seems...
April 28, 2016 at 2:43 am
do you need SysKey?
I'm testing out this scenario where the later date is earlier in the insert and syskey for the later date will have a lower value.
The max(syskey) requirement...
April 27, 2016 at 7:45 am
Is it not possible to rank over the table once, and get everything you ever need from that table, instead of PolicyAudit self join (select top 1 PolicyAudit...
April 27, 2016 at 3:14 am
info.sqldbamail (4/26/2016)
I have a CMEMThread poison wait is that a problem of NUMA configuration/Memory Configuration.
I have had this issue and it turned out to be user defined scalar functions operating...
April 26, 2016 at 9:41 am
What should the results for these test cases be?
SELECT age FROM dbo.YearsApart('2/28/2002','02/28/2003');
SELECT age FROM dbo.YearsApart('2/28/2003','02/28/2004');
SELECT age FROM dbo.YearsApart('2/29/2004','02/28/2005');
SELECT age FROM dbo.YearsApart('03/01/2004','03/01/2005');
Edit : Seems that how you handle leaplings depends on...
April 26, 2016 at 8:25 am
Jeff Moden (4/25/2016)
MadAdmin (4/25/2016)
Jeff Moden (4/25/2016)
April 25, 2016 at 3:17 pm
Jeff Moden (4/25/2016)
April 25, 2016 at 2:53 pm
Mike Good (4/25/2016)
April 25, 2016 at 1:44 pm
mike.dinnis (4/25/2016)
Jacob Wilkins (4/25/2016)
April 25, 2016 at 9:06 am
Viewing 15 posts - 76 through 90 (of 389 total)