Viewing 15 posts - 2,431 through 2,445 (of 10,143 total)
rodjkidd (6/16/2015)
ChrisM@Work (6/16/2015)
rodjkidd (6/16/2015)
ChrisM@Work (6/16/2015)
dwain.c (6/15/2015)
Here's one for the hard-core Sci-Fi fans out there:Size Comparison - Science Fiction Spaceships
Count me among 'em.
I sent the link around the lads here. One...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2015 at 3:15 am
rodjkidd (6/16/2015)
ChrisM@Work (6/16/2015)
dwain.c (6/15/2015)
Here's one for the hard-core Sci-Fi fans out there:Size Comparison - Science Fiction Spaceships
Count me among 'em.
I sent the link around the lads here. One of them...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2015 at 2:53 am
rodjkidd (6/16/2015)
ChrisM@Work (6/16/2015)
dwain.c (6/15/2015)
Here's one for the hard-core Sci-Fi fans out there:Size Comparison - Science Fiction Spaceships
Count me among 'em.
I sent the link around the lads here. One of them...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2015 at 2:51 am
dwain.c (6/15/2015)
Here's one for the hard-core Sci-Fi fans out there:Size Comparison - Science Fiction Spaceships
Count me among 'em.
I sent the link around the lads here. One of them sent the...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2015 at 2:44 am
dwain.c (6/16/2015)
rodjkidd (6/16/2015)
dwain.c (6/15/2015)
Here's one for the hard-core Sci-Fi fans out there:Size Comparison - Science Fiction Spaceships
Count me among 'em.
From the comments;
Q: And where's TARDIS?
A: It's both too large and...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 16, 2015 at 2:42 am
koles2004 (6/12/2015)
IF EXISTS (SELECT * FROM sys.objects WHERE name = 'TwoDigitsNumber' AND type = 'FN')
DROP FUNCTION MinimumOFThree;
GO
CREATE FUNCTION TwoDigitsNumber(@a int)
RETURNS nvarchar(20)
AS
BEGIN
DECLARE @str nvarchar(20);
DECLARE...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 12, 2015 at 9:27 am
muratos2007 (6/12/2015)
....I have suggested not using the cursor for the programmer. But, surely he will continue use it 😀I don't know what to do more....
Your programmer is learning his trade...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 12, 2015 at 6:45 am
-- Style 112 for the convert function is 'yyyymmdd' which doesn't match the supplied string.
-- The CONVERT function doesn't make sense anyway - you're converting a string to a string.
--...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 12, 2015 at 5:45 am
T2512 (6/12/2015)
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 12, 2015 at 5:23 am
-- Please check that this formatted version of your query still works,
-- then put table aliases before each column reference in the
-- inner derived table 'r'.
SELECT DISTINCT *...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 12, 2015 at 4:53 am
Can you attach an actual execution plan as a .sqlplan attachment please? Each graphical component on the plan has a whole bunch of properties which provide essential clues for query...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 12, 2015 at 4:30 am
Gangadhara MS (6/11/2015)
please look for my first post,i have included the schema as well as execution plan by editing it.
Please post the execution plan as a .sqlplan attachment, not...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 12, 2015 at 3:44 am
jeff.born (6/11/2015)
I've been playing with the cross apply and trying to get it to work with a few other requirements. Each business group I should easily be able to...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 11, 2015 at 9:59 am
-- It's not clear what you want as your output because you decribed it (badly)
-- rather than presenting it as data.
-- This might be correct, then again, it...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 11, 2015 at 4:29 am
CREATE TABLE #NewsEntities (NewsEntity INT NOT NULL identity(1,1), NewsId INT, EntityId INT)
INSERT INTO #NewsEntities (NewsId, EntityId)
VALUES
(1,1),(1,2),(1,3),
(2,1),(2,5),(2,3),
(3,5),(3,2),(3,3)
SELECT n.NewsId
FROM #NewsEntities n
WHERE EntityId = 1
AND NOT EXISTS (
SELECT 1
FROM #NewsEntities...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
June 11, 2015 at 3:16 am
Viewing 15 posts - 2,431 through 2,445 (of 10,143 total)