Viewing 15 posts - 4,426 through 4,440 (of 10,143 total)
Davebhoy (7/4/2013)
Thanks for your reply Chris.Nothing gets returned using like U%
Thanks
Dave.
Hi Dave
Please refer to this Connect article which provides an explanation and a temporary fix. The issue appears to be...
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
July 5, 2013 at 1:06 am
What's returned when you run this:
SELECT DISTINCT rel_value
FROM agr.dbo.relvalue AS relvalue
WHERE (attribute_id = 'A0')
AND (rel_attr_id = 'ZL')
AND rel_value LIKE 'U%'
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
July 4, 2013 at 9:35 am
engstevo (7/3/2013)
it's my test for BI position ,It's a real problem
It's SQL Server 101, and I'm surprised that the tests for a BI position can be this simple. If you...
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
July 3, 2013 at 5:38 am
Steve
Take another look at this part of the query:
SELECT
SVPromoInteractions.RefKey
FROM SVPromoInteractions
INNER JOIN (
SELECT
RefKey,
MIN(ContactDate) ContactDate -- Finds the oldest interaction, in case there are more than one 321 rec
FROM SVPromoInteractions
WHERE INum =...
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
July 3, 2013 at 1:23 am
How are you consuming the output, Amy? At almost 3M rows I'm guessing it's part of another query, in which case I'd look first at bundling up the faster 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
July 3, 2013 at 1:08 am
sachince61 (7/2/2013)
Its very much helpful to me..
But i want to know is there any other way without using ROW_NUMBER() function ??
B'cause i am using server 2000 so...
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
July 2, 2013 at 8:24 am
-- This should work but the output does not match your "desired output" table.
-- If you can explain why there is a difference then I'm sure the code can
--...
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
July 2, 2013 at 8:12 am
techmarimuthu (7/2/2013)
@chrism-2@Work : this are (50200,50194,50430,50191,1) Record Id
Yes I can see that! How does the list come into existence? Is it typed in by you or generated...
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
July 2, 2013 at 6:01 am
steve.pantazis (7/1/2013)
Also, let me re-emphasize that I created a non-unique, non-clustered index for SaleDate, which eliminated the Key Lookup in the execution plan, but peformance is still slow.
Steve
The indexing strategy...
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
July 2, 2013 at 6:00 am
How is this list (50200,50194,50430,50191,1) generated? Could you leverage the method to create a two-column table instead?
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
July 2, 2013 at 5:16 am
Sean Lange (7/1/2013)
valeryk2000 (7/1/2013)
iTVF - 1:08Scalar- 2:07
Long live iTVF and Sean!
ROFL. Glad you got it working. 🙂
valeryk2000 (7/1/2013)
iTVF - 1:08Scalar- 2:07
Long live iTVF and Sean!
Limping! 😛
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
July 1, 2013 at 8:37 am
valeryk2000 (7/1/2013)
Sean, I hate to look stupid - but this is a quality not easy to hide ...I was not able to use iTVF in my query ... alas ...
I'm...
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
July 1, 2013 at 8:24 am
T.Ashish (7/1/2013)
I have attached the execution plans as required.Waiting for your comments...
The query with the redundant outer select times out - SQL Server effectively gives up trying to find 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
July 1, 2013 at 5:35 am
T.Ashish (7/1/2013)
...
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
July 1, 2013 at 4:01 am
T.Ashish (6/30/2013)
It is not asking for missing indexes and performing much better.
...
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
July 1, 2013 at 3:21 am
Viewing 15 posts - 4,426 through 4,440 (of 10,143 total)