Viewing 15 posts - 7,126 through 7,140 (of 10,143 total)
Paul White NZ (10/29/2010)
Table Spool mania! It doesn't perform well;...
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
November 1, 2010 at 7:13 am
Paul White NZ (2/27/2010)
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
October 29, 2010 at 10:04 am
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
October 29, 2010 at 9:13 am
Ray K (10/29/2010)
All this talk about exotic food -- any Andrew Zimmern fans here?
Was he anything to do with this[/url]?
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
October 29, 2010 at 8:09 am
tosscrosby (10/29/2010)
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
October 29, 2010 at 7:55 am
Not another biltong post? Yes it is.
If you're in the Leamington area, Kate in the Rustic Deli has today received a shipment of kudu biltong. Nom nom nom. Oh yes....
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
October 29, 2010 at 7:33 am
SwePeso (10/29/2010)
SELECTSUM(1) AS Items
FROMdbo.tblHhiQuotes
WHERE sGlDate <= '28 Oct 2010'
AND sEffectiveDate BETWEEN '01 Nov 2010' AND '30 Nov 2010'
AND cTransType...
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
October 29, 2010 at 5:40 am
Oops...that's what happens when you don't test. Didn't have SQL Server handy yesterday. Try this:
SELECT COUNT(*)
FROM (
SELECT 1 AS aMatchingRow
...
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
October 29, 2010 at 5:39 am
BenWard (10/29/2010)
My query was the slowest (as was expected lol)
most common speed 156ms with a low of 141 and a high of 196
3rd place...
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
October 29, 2010 at 4:58 am
andrewd.smith (10/27/2010)
Here's another solution using PATINDEX and STUFF.EDIT: Just noticed my solution was identical to Chris Morris' so have removed it.
Andrew I'm gonna 'fess up mate my solution IS...
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
October 29, 2010 at 2:41 am
Alvin Ramard (10/28/2010)
WayneS (10/28/2010)
Craig - I see you came through on your threat of a ST avatar! Seems appropriate, especially in the thread with Joes latest rant.
I guess a new...
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
October 29, 2010 at 2:24 am
Plumber
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
October 29, 2010 at 2:12 am
tosscrosby (10/25/2010)
Brandie Tarvin (10/25/2010)
biscuitOur dog's name (a golden lab). She is sweet!
It's pretty much guaranteed to be a golden lab's favourite food 😛
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
October 25, 2010 at 6:40 am
CREATE TABLE #Sample (MyStuff VARCHAR(22))
INSERT INTO #Sample (MyStuff)
SELECT '13/01/2010(DD/MM/YYYY)' UNION ALL
SELECT '01/13/2010(MM/DD/YYYY)' UNION ALL
SELECT '14/04/2001(DD/MM/YYYY)' UNION ALL
SELECT '11/03/2002(MM/DD/YYYY)' UNION ALL
SELECT '2010/01/01(YYYY/MM/DD)'
SELECT RIGHT(MyStuff, 12), COUNT(*)
FROM #Sample
GROUP BY RIGHT(MyStuff, 12)
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
October 25, 2010 at 6:34 am
If the first day of the month is 'saturday', add 5 days. If it's a 'sunday', add 4 days. What if it's wednesday?
-- How might this work longhand?
DECLARE @MyDate DATETIME
SET...
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
October 25, 2010 at 5:42 am
Viewing 15 posts - 7,126 through 7,140 (of 10,143 total)