Viewing 15 posts - 61 through 75 (of 3,956 total)
kiril.lazarov.77 (5/14/2015)
I'd appreciate if you could show me how to overcome the issue when there are +2 missing records. So if there is...
May 14, 2015 at 5:56 pm
WayneS (5/14/2015)
GilaMonster (5/14/2015)
Over the years I've been very careful to keep my blog completely non-commercial, no adverts, no plugs for my company, nothing. Partially because when...
May 14, 2015 at 5:44 pm
Hi again. Forgot to mention something.
ID/Category 2/Y was quite problematic because there was no data for 2015-05-11. You can see where I used LEAD to pull that data...
May 13, 2015 at 7:07 pm
You can try this but I won't guarantee it will work with your real data.
WITH DistinctDates AS
(
SELECT [Date]
FROM @T
...
May 13, 2015 at 6:52 pm
tom.w.brannon (5/13/2015)
May 13, 2015 at 5:47 pm
tom.w.brannon (5/13/2015)
Thank you for the reply. Unfortunately this one does not work on the real data.
Which one?
May 13, 2015 at 6:52 am
WITH example (LID, BoxCount) AS
(
SELECT 1, 2
UNION ALL SELECT 1, 2
UNION ALL SELECT 1, 2
...
May 12, 2015 at 6:50 pm
Perhaps this will work too?
with data as (
select 1 as A, 1 as B, '2015-01-01' as DTE union
select 1 as A, 1 as B, '2015-01-02' as DTE union
select 1 as...
May 12, 2015 at 6:36 pm
Alan.B (5/12/2015)
I do want to add...
May 12, 2015 at 5:45 pm
Gary Harding (5/12/2015)
The main one is that the constraint didn't always fire.
If the column(s) passed into the...
May 12, 2015 at 5:42 pm
Oh yes. I'm simply reporting here how these things can be done.
Other than the notation I made above from Paul White, I can't report on any of the dangers...
May 12, 2015 at 12:16 am
Nathan Davis-411378 (5/11/2015)
May 12, 2015 at 12:13 am
Before anyone gets the chance to call me on this point, I ran across this bit of information after submitting this article, provided by Paul White in his blog:
"Any reference...
May 11, 2015 at 10:39 pm
Hi again Serge! I wanted to confirm your findings and see just how much the data in play causes timing differences. So I built my own test harness,...
May 7, 2015 at 7:23 pm
Viewing 15 posts - 61 through 75 (of 3,956 total)