Viewing 15 posts - 16 through 30 (of 429 total)
Nevyn (2/2/2015)
February 2, 2015 at 4:29 pm
Nevyn (2/2/2015)
Also, does a match have to one scotch in common or all the scotches of the...
February 2, 2015 at 9:06 am
Hi Lowell,
I tried something similar, and my head ended up bouncing off it. The trick I was hoping to pull off was something like, provide any starting point, get back...
February 2, 2015 at 6:34 am
Eirikur Eiriksson (2/2/2015)
Quick thought, the problem itself is straightforward, the issue is more the schema, normalize it and the solution is easy.😎
That was one of the first things I did....
February 2, 2015 at 5:52 am
Slightly different take, using ChrisM's sample table.
SELECT s.LinkingID, MaxID
FROM #Sample AS s
CROSS APPLY (SELECT TOP 1 [MaxID]
FROM (VALUES(s.ID1),
(s.ID2)...
January 22, 2015 at 5:49 pm
Perry Whittle (10/20/2014)
Mac1986 (7/3/2014)
All databases are in Simple recovery model. Not...
January 22, 2015 at 5:39 pm
Well, it looks like jokers and deuces are wild here.
January 16, 2015 at 6:33 pm
Jeff Moden (1/16/2015)
sqldriver (1/16/2015)
Jeff Moden (1/16/2015)
sqldriver (1/15/2015)
January 16, 2015 at 8:47 am
Eirikur Eiriksson (1/15/2015)
sqldriver (1/15/2015)
USE tempdb
DECLARE @cntr BIGINT = 0;
;WITH T(N) AS (SELECT N FROM (VALUES (NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL)) AS...
January 16, 2015 at 8:06 am
Jeff Moden (1/16/2015)
sqldriver (1/15/2015)
January 16, 2015 at 8:05 am
I have several tables with between 1 billion and 2 billion rows in them that I have to generate reports on. Sometimes periods of inactivity, sometimes periods of high activity,...
January 15, 2015 at 9:15 pm
Everything I've tried has been an extension of stuff I've seen around here. One thing I thought would make a difference is how many levels of CTEs I was stacking...
January 15, 2015 at 4:10 pm
Yeah, I just do this and replace the TOP with whatever target number.
USE tempdb
DECLARE @cntr BIGINT = 0;
;WITH T(N) AS (SELECT N FROM (VALUES (NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL)) AS X(N))
,NUMS(N) AS (SELECT...
January 15, 2015 at 1:57 pm
Siva Ramasamy (1/12/2015)
Thanks for showing interest in my question and sharing your knowledge to help me out.
The total drive size is about 2.5 TB out of which the...
January 14, 2015 at 10:26 am
Viewing 15 posts - 16 through 30 (of 429 total)