Viewing 15 posts - 8,656 through 8,670 (of 10,143 total)
There's a DELETE...FROM lurking in here:
SELECT DISTINCT a.ApplicationID, n.PN, p.PartNumber, c.GenCategoryID
FROM ApplicationProduct ap (nolock)
INNER JOIN Application a
ON ap.ApplicationID = a.ApplicationID
INNER JOIN Product p
ON ap.ProductControlID = p.ProductControlID
INNER JOIN...
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
March 23, 2009 at 10:55 am
munderhill73525 (3/23/2009)
Using the Employees table below how would you select by Last_name and group by Salary within EE01_Classification?
If you group by salary alone, you're saying "return one row per salary...
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
March 23, 2009 at 3:31 am
mazzz (3/21/2009)
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
March 22, 2009 at 3:33 am
Hyperdata (3/20/2009)
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
March 20, 2009 at 10:23 am
Bob Hovious (3/20/2009)
In Park City, Utah, they brew Polygamy Porter, in deference to the early Mormons.Motto: Why have just one?
very funny!
One of my favourites - namewise anyway...
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
March 20, 2009 at 10:08 am
Please provide table creation scripts, some relevant easily-consumed sample data and a table showing your expected output. If you're not sure how to do this, read the link below.
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
March 20, 2009 at 9:56 am
mazzz (3/20/2009)
Grant Fritchey (3/20/2009)
I haven't sat down to a hand-drawn real ale since 1993... so... I hate you all. I hope they have nothing left but Coors.
I think the mere...
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
March 20, 2009 at 8:13 am
mazzz (3/20/2009)
Chris Morris (3/20/2009)
mazzz (3/20/2009)
Is that Sainsbury's, UK?If so I must investigate
Yep and if you're London-based it gets better 😎
Leeds-based, so I'm off here this evening: Leeds beer festival[/url] 😀
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
March 20, 2009 at 6:40 am
mazzz (3/20/2009)
Is that Sainsbury's, UK?If so I must investigate
Yep and if you're London-based it gets better 😎
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
March 20, 2009 at 6:03 am
Derek Dongray (3/20/2009)
Lynn Pettis (3/19/2009)
Derek Dongray (3/19/2009)
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
March 20, 2009 at 5:34 am
Lynn Pettis (3/18/2009)
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
March 18, 2009 at 11:14 am
foxjazz (3/18/2009)
{} is much better than BEGIN BEGIN BEGIN BEGIN END END END END
Heh quite possibly - but the count of BEGIN - END pairs goes right down once people...
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
March 18, 2009 at 10:33 am
A separate case for each expression will do the trick:
SET colMask = ISNULL(NULLIF(
CASE WHEN ((b.col3 % 8) /4) >= 1 THEN 'Submit ' ELSE '' END +
CASE WHEN ((b.col3...
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
March 18, 2009 at 7:43 am
In the article which Gail referred you to earlier, this is described as "The Wrong Way to Post Data". Please read the article, it will only take three or four...
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
March 18, 2009 at 7:00 am
Grant Fritchey (3/18/2009)
I was checking up on the status of what I think is a bug that I posted 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
March 18, 2009 at 5:44 am
Viewing 15 posts - 8,656 through 8,670 (of 10,143 total)