Viewing 15 posts - 7,081 through 7,095 (of 10,143 total)
Ray K (11/10/2010)
Chris Morris-439714 (11/10/2010)
Ray K (11/10/2010)
morningMornin' Ray. Smoke?
Not I. Never touch the stuff.
Drink, on the other hand . . .
At this time of the morning? :unsure: ok then...
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 10, 2010 at 7:55 am
andrewd.smith (11/10/2010)
SELECT *
FROM dbo.ZNodeOrder NO
...
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 10, 2010 at 7:51 am
RichardDouglas (11/9/2010)
Banzai
Richard put the knife down, and the user 😀
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 10, 2010 at 7:03 am
Ray K (11/10/2010)
morning
Mornin' Ray. Smoke?
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 10, 2010 at 7:02 am
SELECT
OriginalMinutes= Minutes,
INTHours= Minutes/60,
INTRemainingMinutes = Minutes%60,
CHARHours= REPLACE(STR(Minutes/60,2), ' ', '0'),
CHARRemainingMinutes = REPLACE(STR(Minutes%60,2), ' ', '0'),
HoursAndMinutes= REPLACE(STR(Minutes/60,2), ' ', '0') + ':' + REPLACE(STR(Minutes%60,2), ' ', '0')
FROM (
SELECT 25...
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 10, 2010 at 6:59 am
El Gato (11/10/2010)
SELECT *
FROM dbo.ZNodeOrder NO
INNER JOIN dbo.ZNodeOrderLineItem NOLI
ON...
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 10, 2010 at 6:13 am
sdabiri881 (11/10/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
November 10, 2010 at 4:47 am
c-davifetr (11/9/2010)
Unfortunately I can’t put the data out. Too sensitive
Wise move - but you could make some up.
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 9, 2010 at 8:20 am
Alvin Ramard (11/9/2010)
Alvin Ramard (11/9/2010)
Chris Morris-439714 (11/9/2010)
[-- link deleted --] I know there are interested folks here - you can now buy one.
What a useless write up that was. ...
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 9, 2010 at 8:00 am
Alvin Ramard (11/9/2010)
Chris Morris-439714 (11/9/2010)
Steve you need to whack the quoted link too.Done.
Thanks Alvin.
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 9, 2010 at 7:54 am
Steve you need to whack the quoted link too.
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 9, 2010 at 7:45 am
c-davifetr (11/9/2010)
This seems to be close. I need to group on t.Web_Desc. Notice I have 4 Out-of-State Offender45ArmstrongLifetime Offender1
NULLArmstrongOut-of-State Offender1
4ArmstrongOut-of-State Offender1
NULLArmstrongOut-of-State Offender1
14ArmstrongOut-of-State Offender 1
NULLArmstrongSexual Violent Predator1
18ArmstrongTen Year Offender1
Sorry, don't...
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 9, 2010 at 7:38 am
Daniel Bowlin (11/9/2010)
mbricker-600840 (11/9/2010)
payolaThe $64,000 Question. (A bit of US TV trivia)
A bit? You're so lucky - it's all we ever get!
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 9, 2010 at 7:14 am
Colour Ereader announced (newscientist.com). I know there are interested folks here - you can now buy 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
November 9, 2010 at 7:02 am
Award-winningly sketchy spec, but here goes:
SELECT
offenders = Agg.OffendersOfThisTypeInThisCounty,
m.County_Name,
m.Web_Desc,
'1' AS 'Address_Type'
FROM (
SELECT c.County_Code, c.County_Name, t.Offender_Type_LKP_ID, t.Web_Desc
FROM SPGlobalLookups.dbo.County_LKP c
CROSS JOIN dbo.Offender_Type_LKP t
) m
LEFT JOIN (
SELECT o.Offender_Type_LKP_ID, a.County_Code, OffendersOfThisTypeInThisCounty = COUNT(*)
FROM...
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 9, 2010 at 6:55 am
Viewing 15 posts - 7,081 through 7,095 (of 10,143 total)