Viewing 15 posts - 31 through 45 (of 93 total)
Gazareth (7/3/2014)
Nice article Ed, much appreciated. Did not know some of these had also been introduced to 2008!Cheers
Gaz
Some of these were introduced in SQL Server 2008 R2, but were included...
July 3, 2014 at 5:28 am
lauri.pietarinen (6/26/2014)
(c1 , c2 desc, c3) can...
June 26, 2014 at 1:59 pm
Sean Lange (6/19/2014)
Ed Pollack (6/19/2014)
There's a bunch of fun ways to do this and in thios one case I went explicitly for the shortest, quickest, and dirtiest 🙂 Not...
June 19, 2014 at 1:00 pm
Sean Lange (6/19/2014)
Ed Pollack (6/19/2014)
raghava_tg (6/18/2014)
insert into #temp (id, data)
select 1, 'a,b,c'
union all
select 2, 'x,y'
union all
select 3,'j,k,l'
select * from #temp
i want to create...
June 19, 2014 at 12:47 pm
raghava_tg (6/18/2014)
insert into #temp (id, data)
select 1, 'a,b,c'
union all
select 2, 'x,y'
union all
select 3,'j,k,l'
select * from #temp
i want to create a output like this.
1...
June 19, 2014 at 11:10 am
I have a recent SSC article on linking up rows of data to grab a previous or next value for a given column that may be of help:
http://qa.sqlservercentral.com/articles/CTE/109287/
This has methods...
June 17, 2014 at 1:37 pm
kris7233 (6/17/2014)
I'm wondering why you dropped
NCI_Product_Weight_DUPE and
NCI_Product_Weight_OVERLAP
Instead of dropping
NCI_Product_Weight and
NCI_Product_Weight_DUPE
Just leaving...
June 17, 2014 at 10:53 am
DennisPost (6/17/2014)
This helped me find a bunch of overlapping indexes.
Besides the is_Disabled flag, I'd also include the has_filter flag and filter_definition as well.
Most of the duplicates I found had...
June 17, 2014 at 8:50 am
alexander.oss (6/16/2014)
June 16, 2014 at 12:34 pm
That's an understandable question---and I intentionally left out any automatic scripting from the article. Adding and removing indexes is delicate work and should be done carefully with quite a...
June 16, 2014 at 10:04 am
The is_disabled flag could be worked in, but I would venture that a disabled index and an enabled index that are identical should be flagged as dupes.
For just display purposes...
June 16, 2014 at 5:55 am
Both are good points! In my effort to keep this "simple" I left out a few use-cases, which you both have covered. I'll modify the article shortly to...
June 16, 2014 at 5:22 am
I'll take this one---will go through the changes to columnstore indexes in SQL Server 2014 and an example of the performance benefit of using one vs. standard indexes.
June 11, 2014 at 1:17 pm
Jonathan Cohen (6/10/2014)
Very nice and clear Ed.Hope you are not getting overworked on SQL Saturday.
Jonathan Cohen
Thanks!!
So far so good w/ our SQL Saturday---I've got a bunch of great volunteers that...
June 10, 2014 at 8:12 am
feroz.durani (6/9/2014)
Excellent reasoning. Does sp_updatestats perform a FULL_SCAN or 50% sampling ?
Good question! sp_updatestats will run an UPDATE STATISTICS statement on all statistics in the database. This will...
June 9, 2014 at 9:41 am
Viewing 15 posts - 31 through 45 (of 93 total)