Viewing 15 posts - 4,591 through 4,605 (of 10,143 total)
There's a very good chance that the smart folks here could eliminate the view from the query, if they could see the view definition.
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
May 16, 2013 at 9:21 am
philip.davy (5/16/2013)
Sorry, afraid notthanks
If you are still interested in working it through, there are folks here willing to help.
There are two or three remaining issues with the query;
...
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
May 16, 2013 at 9:18 am
philip.davy (5/16/2013)
The naming convention was decided by someone else
Have you figured out the query issues, Philip?
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
May 16, 2013 at 9:05 am
philip.davy (5/16/2013)
selectList_,
Description,
count(month(TimeClicked)) as MonthTimeClicked
from clicktracking_ with (nolock)
inner join members_ on clicktracking_.MemberID_ = Members_.MemberID_
inner join lyrLookupCompletionStatus on lyrCompletedRecips.CompletionStatusID = lyrLookupCompletionStatus.CompletionStatusID
group by
List_,
Description
lyrCompletedRecips.CompletionStatusID = lyrLookupCompletionStatus.CompletionStatusID
This will fail unless you have lyrCompletedRecips...
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
May 16, 2013 at 6:45 am
Cadavre (5/15/2013)
ChrisM@Work (5/15/2013)
dwain.c (5/15/2013)
My gut was telling me an rCTE wouldn't do it and the set-based loop...
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
May 16, 2013 at 1:23 am
dwain.c (5/15/2013)
My gut was telling me an rCTE wouldn't do it and the set-based loop I tried...
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
May 15, 2013 at 6:26 am
cyberdaemon (5/14/2013)
@ssCrazyYou're right.. Do you any idea about this prob?
I'll reiterate what Eugene is saying: you need to know how to collect the value you want from the stored procedure...
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
May 14, 2013 at 3:20 am
Craig - very promising, but try adding these to the sample data set:
UNION ALL
SELECT 2426, 2341 UNION ALL
SELECT 2341, 1200
Abu Dina - are these two additional rows valid data, 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
May 13, 2013 at 6:03 am
rohit.kumar.barik (5/12/2013)
out put should be : 2013 and 23.05
For that i used regular expr: (?<Issue>\d{2}\.\d{2}).(?<Year>\d{2})
The 20 value is not coming before 13. i need...
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
May 13, 2013 at 1:11 am
You can see the effect with SQL Server 2008 R2 (RTM):
SELECT @@VERSION
-- Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) Jun 28 2012 08:36:30
--...
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
May 10, 2013 at 5:05 am
Quick work, Mark 😉
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
May 10, 2013 at 4:54 am
Thanks...
WITH Resolver AS (
SELECT
[Level] = 1,
[Route] = CAST(RTRIM(t.ColA) AS VARCHAR(25)),
t.ColA, t.ColB, t.ColC, t.ColD, t.ColE, t.ColF
FROM tmpTable t
WHERE ColA = 395
UNION ALL
SELECT
[Level] = r.[Level] +...
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
May 10, 2013 at 4:53 am
syedathariqbal (5/10/2013)
Need help on some recursive Data. I would need to get 4 records out of below available If I pass value 395. Since, for 395, COlD (Child of...
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
May 10, 2013 at 3:52 am
rohit.kumar.barik (5/10/2013)
I am getting input file below format.
Text-dd.mm.yy.
i need to display as 20yy (year) and mm.dd (Issue) For that i am using regular expr. i am using
'^Text-(?<Issue>\d{2}\.\d{2}).(?<Year>\d{2})\.txt$'
output 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
May 10, 2013 at 3:49 am
The RETURN value of a stored procedure is kinda reserved for the error status. 0 means no error, any other number means an error occurred. Check the stored procedure for...
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
May 10, 2013 at 3:34 am
Viewing 15 posts - 4,591 through 4,605 (of 10,143 total)