Viewing 15 posts - 8,311 through 8,325 (of 10,143 total)
Lynn Pettis (12/22/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
December 22, 2009 at 7:42 am
abcim (12/22/2009)
>> are the values of RowID unique within the tableNo
>> are they always unique within a single [ReportId]
Yes
Thanks. Last question, I think: for each RowID in the table Maturity_Detail,...
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
December 22, 2009 at 7:39 am
Cool - now the biggie: are the values of RowID unique within the table?
If not, are they always uniquewithin a single [ReportId]?
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
December 22, 2009 at 7:11 am
GilaMonster (12/22/2009)
Merry Christmas everyone.Since I didn't manage to finish the christmas scene for this year, have one from a couple years back.
It's a pretty picture - but many will feel...
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
December 22, 2009 at 6:58 am
abcim (12/22/2009)
Thanks52 Rows
Is this 52 weeks, or is the 52 just a concidence?
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
December 22, 2009 at 6:55 am
abcim (12/22/2009)
Thanks52 Rows
How many different values of RowID do you have?
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
December 22, 2009 at 6:54 am
abcim (12/22/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
December 22, 2009 at 6:41 am
Alvin Ramard (12/22/2009)
I'm about to go offline for the next week or two, so it's time to wish y'all a very Merry Christmas and a Happy New Year.🙂
Merry...
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
December 22, 2009 at 5:50 am
abcim (12/22/2009)
Are you sure (Good Catch)then why this works 100%,
DECLARE @a int
DECLARE @b-2 int
SELECT @a=1,@b=ISNUMERIC(@a)
SELECT @a,@b
You really don't want to use the "quirky update" trick for this
@ variable
Is a...
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
December 22, 2009 at 5:22 am
lmu92 (12/22/2009)
This would make the whole query much more readable and most probably would make it more...
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
December 22, 2009 at 4:52 am
abcim (12/22/2009)
I have the given SP which contains variables, but it never returns any rowsThe variables are necessary because they are used at different places.
@Difference will always return NULL
@Total2...
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
December 22, 2009 at 4:29 am
khandaresarang (12/22/2009)
I created a table in which there r n fields and in that two of them are date field i.e., startdate and enddate.
Now i...
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
December 22, 2009 at 3:14 am
Even if there were a way to do this with any certainty (and reproducibility / reliability) without changing your table structure, why would you want to? If you can provide...
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
December 22, 2009 at 3:12 am
Ray K (12/21/2009)
Chris Morris-439714 (12/21/2009)
So what? We've known for years that the answer is 42.Yes, but what is the actual question? 🙂
Rumour has it that someone is deep in thought...
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
December 21, 2009 at 9:23 am
SELECT a.GROUPNUMBER, a.SSN,
ISNULL(b1.FIRSTNAME, b.FIRSTNAME) AS FIRSTNAME,
ISNULL(b1.LASTNAME, b.LASTNAME) AS LASTNAME
FROM tblNewData a
LEFT OUTER JOIN tblExistingData b1
ON b1.GROUPNUMBER =...
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
December 21, 2009 at 8:50 am
Viewing 15 posts - 8,311 through 8,325 (of 10,143 total)