Viewing 15 posts - 1,096 through 1,110 (of 10,143 total)
Y.B. (11/15/2016)
That being said I did recently try an Irish Cheddar which was excellent. I like...
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 16, 2016 at 7:56 am
Luis Cazares (11/14/2016)
Eirikur Eiriksson (11/14/2016)
😎
If the plan contains sensitive data then you can use SQL Sentry Plan Explorer...
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 15, 2016 at 9:11 am
A few pointers in here too:
DECLARE @MergedRecord INT = 0
IF EXISTS ( -- this subquery isn't correlated - it returns a CONSTANT
SELECT 1
FROM ETLCorrelation
WHERE DestinationTable = 'ConfigOptionTypeProperty'
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
November 14, 2016 at 11:05 am
GilaMonster (11/7/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
November 8, 2016 at 2:21 am
What's already been said, but also:
Try forcing a join or two. You know that the join introducing Patientvisitprocs should be a hash join because of the volumes, and PatientVisit should...
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 7, 2016 at 9:52 am
Minnu (11/4/2016)
Hi,Want to combine two select queries in to one by excluding UNION.
Indexed views - typically these are used as a performance-enhancing trick. Are you experiencing performance issues with these...
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 4, 2016 at 9:30 am
sindhupavani123 (11/4/2016)
What should i do if i want two columns with below output?
Client fields value ...
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 4, 2016 at 9:23 am
This also matches the somewhat ambiguous and vague requirements:
;WITH SAMPLE_DATA(Client,fields,value) AS
( SELECT X.Client,X.fields,X.value
FROM ( VALUES
(111,'Decision','accept')
...
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 4, 2016 at 6:34 am
sindhupavani123 (11/4/2016)
I have the following data with client account decision and status
Clientfields value
111Decisionaccept
111Statusdeposited
112decisionaccept
113Decisionaccept
114Decisionaccept
114Statuscontract
115DecisionConditional Accept
115Statusdeposited
116DecisionConditional Accept
117DecisionConditional Accept
118Statuscontract
118DecisionConditional Accept
I would like to get
records...
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 4, 2016 at 5:58 am
keith.gilbert-1064677 (10/6/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
November 4, 2016 at 5:06 am
From Glenn Berry's diagnostic queries series:
-- Find single-use, ad-hoc and prepared queries that are bloating the plan cache (Query 44) (Ad hoc Queries)
SELECT TOP(50) [text] AS [QueryText], cp.cacheobjtype, cp.objtype,...
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 4, 2016 at 4:17 am
Or this perhaps? The requirement is rather vague.
DECLARE @Sample TABLE (GroupCode char(1), BinNumber int, ValueCode varchar(20), DetailCode varchar(20))
INSERT INTO @Sample (GroupCode, BinNumber, ValueCode, DetailCode) VALUES
('A',1,'ValueA','Details1'), ('A',2,'ValueA','Details2'),
('B',1,'ValueB','Details1'), ('B',2,'ValueB','Details2'), ('B',3,'ValueB','Details3'),
('C',1,'ValueC','Details1'), ('C',2,'ValueC','Details2'),...
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 4, 2016 at 4:08 am
Minnu (11/4/2016)
Want to create a view using below query, and also want to apply indexes on that view.
SELECT NT.ID, U.acc_name
FROM dbo.NR_VT NT WITH (NOLOCK),
...
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 4, 2016 at 2:48 am
Jeff Moden (11/1/2016)
ChrisM@Work (11/1/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
November 1, 2016 at 9:10 am
Lynn Pettis (11/1/2016)
ChrisM@Work (11/1/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
November 1, 2016 at 7:59 am
Viewing 15 posts - 1,096 through 1,110 (of 10,143 total)