Viewing 15 posts - 1,306 through 1,320 (of 10,143 total)
GilaMonster (8/10/2016)
Someone please keep an eye on the corruption forums,...
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
August 10, 2016 at 10:06 am
Phil Parkin (8/10/2016)
TheFault (8/10/2016)
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
August 10, 2016 at 10:02 am
-- untested, no data available (see Drew's post)
SELECT
users.id,
users.first_name,
users.last_name,
businesses.`name` AS BusName,
businesstypes.`name` AS BusIndustry,
businessforms.`name` AS BusForm,
x.BusRevenue,
x.BusFT_Emp,
x.BusPT_Emp,
usertypes.`name` AS User_Status,
users.counselor_userid
FROM users
INNER JOIN meetings ON users.id = meetings.user_id
--LEFT JOIN measures ON users.id = measures.user_id
OUTER APPLY...
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
August 10, 2016 at 9:46 am
As part of an existing or anticipated PCIDSS [/url]requirement, we're looking at removing aged data relating to payment cards. For our purposes, no card equates to little further value to...
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
August 10, 2016 at 6:50 am
Talib123 (8/10/2016)
Conversions or functions on columns; is the most likely with this piece of code.
This is what I thought but just needed to get a...
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
August 10, 2016 at 6:32 am
TomThomson (8/9/2016)
Phil Parkin (8/9/2016)
This code was generated by a tool.
Does anyone else subconsciously say "You can say that again" whenever they read this comment in auto-generated code? 🙂
It's more appropriate...
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
August 9, 2016 at 9:21 am
Talib123 (8/9/2016)
Hi All,Apart from out of date stats, what can throw these 2 completely out of Sync.
Thanks
Tal.
Can you post the actual execution plan you are studying?
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
August 9, 2016 at 9:19 am
Data skew.
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
August 9, 2016 at 9:18 am
Luis Cazares (8/9/2016)
Even if with this amount of rows it might make no difference, avoid using recursive CTEs tocountgenerate rows...
...because they're way too expensive for such a simple...
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
August 9, 2016 at 8:35 am
Phil Parkin (8/9/2016)
This code was generated by a tool.
Does anyone else subconsciously say "You can say that again" whenever they read this comment in auto-generated code? 🙂
Thanks for sharing Phil,...
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
August 9, 2016 at 6:32 am
Indianrock (8/8/2016)
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
August 8, 2016 at 9:19 am
radu.gheorghiu (8/8/2016)
create clustered index cls_ix_stores_for_budgets on #StoresBudgets (storeID, ProgramID);
create clustered index cls_ix_tmp_report_final on #temp_report_data (store_ID, newSourceID);
The other columns in the SELECT and GROUP...
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
August 8, 2016 at 8:24 am
Indianrock (8/8/2016)
Attached the plan
How long does it take this whopper to execute?
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
August 8, 2016 at 8:16 am
radu.gheorghiu (8/8/2016)
To be fair, the amount of time added...
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
August 8, 2016 at 7:59 am
Indianrock (8/8/2016)
FROM ACCOUNT_OWNERSHIP_DOC_SUMMARY AS AccountOwnershipDocSummary02 WHERE ((AccountOwnershipDocSummary02.ACCOUNT_MODIFIED_MANUFACTURER_ID IN (SELECT AccountOwnershipDocSummary02_ACCOUNT_MODIFIED_MANUFACTURER_ID0 FROM (SELECT AccountOwnershipDocSummary02.ACCOUNT_MODIFIED_MANUFACTURER_ID AS AccountOwnershipDocSummary02_ACCOUNT_MODIFIED_MANUFACTURER_ID0 FROM ACCOUNT_OWNERSHIP_DOC_SUMMARY...
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
August 8, 2016 at 7:37 am
Viewing 15 posts - 1,306 through 1,320 (of 10,143 total)