Viewing 15 posts - 8,716 through 8,730 (of 10,143 total)
karthikeyan (3/6/2009)
I just wanted to know what about my solution? won't it be a god solution? I think 'YES'. Becuase i have used UPPER function. Right?...
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 6, 2009 at 4:06 am
If you were to write a SELECT against these two tables which returned just the rows you want to update from the target table, along with the target column 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 6, 2009 at 2:33 am
Bob Hovious (3/5/2009)
Add some green peas to get the canister effect. Yum.
Mushy peas! Yum! Mushed ballistically!
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 6, 2009 at 1:42 am
Jeff Moden (3/5/2009)
Bob Hovious (3/5/2009)
I just tested the function from that article ... it is SLOW!!!!9999 rows converted using that function takes almost 20 seconds!!!
Heh... I absolutely love it... let...
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 5, 2009 at 3:50 pm
Derek Dongray (3/5/2009)
Actually, I vaguely recall hearing that before.These days I just avoid UDFs wherever possible, 'cos I know there's going to come back and haunt me later! 😀
They're cool,...
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 5, 2009 at 12:56 pm
Putts (3/5/2009)
Derek Dongray (3/5/2009)
Looking at the plan....
Sorry for a bit of confusion, Derek, but have brought up a new query that is doing something very similar here on page 4....
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 5, 2009 at 12:13 pm
Hey, thanks for going the extra mile, Putts. Can we have some table row counts as well, please? Off the top of your head is fine so long as they're...
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 5, 2009 at 11:47 am
GilaMonster (3/5/2009)
Chris Morris (3/5/2009)
Hey Grant, your chum's back in town. I'm in the bleachers with a couple of beers.I'll join you. Got any coffee?
Plenty, make yourself comfortable. You might want...
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 5, 2009 at 10:16 am
Hey Grant, your chum's back in town. I'm in the bleachers with a couple of beers.
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 5, 2009 at 9:57 am
Putts (3/5/2009)
I've read the Forum Etiquette but not sure how that applies to my question ..... unless you just always paste that...
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 5, 2009 at 9:51 am
Is IREP_V_POSITION_STANDARDS a table or a view?
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 5, 2009 at 9:28 am
peter.marshall (3/5/2009)
I wrote a function which steps through the days of the month until it hits 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
March 5, 2009 at 5:51 am
Interesting...have a look at this...
SELECT u.[Last run], t.LastRunField
FROM [SQLSERVER\SQLINSTANCE].[Database].dbo.[UploadStatus] u
INNER JOIN [Table] t ON t.CashDesk = u.CashDesk and t.UploadJob = u.UploadJob and t.Store = u.Store
WHERE u.[Upload job] = @UploadJob
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 5, 2009 at 5:22 am
agh100 (3/5/2009)
No, here it returns the date as it should.2009-03-04 20:58:41.083
The usual suspects here are the backslash in the server name and the setting of quoted_identifiers... what does...
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 5, 2009 at 4:56 am
Do you get a similar error if you run the corresponding simple select?
SELECT [Last run]
FROM [SQLSERVER\SQLINSTANCE].[Database].dbo.[UploadStatus]
WHERE [Upload job] = @UploadJob
AND Store = @ID
AND [CashDesk] = @CashDesk
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 5, 2009 at 3:58 am
Viewing 15 posts - 8,716 through 8,730 (of 10,143 total)