Viewing 15 posts - 1,681 through 1,695 (of 10,144 total)
chandan_jha18 (3/21/2016)
I will try breaking the master proc and test...
March 21, 2016 at 8:26 am
craig.bobchin (3/21/2016)
matak (3/20/2016)
select *
from...
March 21, 2016 at 4:23 am
ChrisM@Work (1/18/2016)
Jeff Moden (1/18/2016)
ChrisM@Work (1/18/2016)
Jeff Moden (1/18/2016)
ChrisM@Work (1/18/2016)
Jeff Moden (1/18/2016)[hrCan we agree on "SARGable in one direction only" as it's often sufficient to permit tweaking a decent plan?
With the battles...
March 18, 2016 at 10:21 am
Couple of minor tweaks:
WITH SequencedRows AS (
SELECT
p.ClientId,
h.StartDate,
h.EndDate,
cp.CoveragePlanName,
rn = ROW_NUMBER() OVER (PARTITION BY d.clientid, d.coverageplanname ORDER BY d.StartDate)
FROM ClientCoverageHistory h
INNER JOIN ClientCoveragePlans p
ON p.ClientCoveragePlanId = h.ClientCoveragePlanId
INNER JOIN CoveragePlans...
March 18, 2016 at 6:44 am
No; but there are two common ways around this. Either resolve out the string to a table of values and join to it, or write the statement as dynamic sql.
Incidentally,...
March 17, 2016 at 10:16 am
smithhead (3/17/2016)
Good to know about compute scalars, I was wondering what that meant.
What do...
March 17, 2016 at 9:41 am
Jeff Moden (3/16/2016)
Luis Cazares (3/16/2016)
The new data types don't allow these operations to allow better functionality.
That's a serious matter of opinion. I think they flubbed it in two ways...
1....
March 17, 2016 at 7:52 am
There's no warning on the result operator to back this up (if the warning string is too long to display in the "hover over" property sheet, it can still be...
March 17, 2016 at 2:50 am
I'd strongly urge you to spec out the functionality of
EXEC [dbo].eusp_e5_eSM_SE_GetHistoryForItem
and focus on this. It's the meat on the bones of this report.
March 16, 2016 at 10:09 am
Emil B (3/16/2016)
March 16, 2016 at 8:37 am
Phil Parkin (3/15/2016)
yb751 (3/15/2016)
GilaMonster (3/15/2016)
A sig that claims an MCSA and can't use SUM?You caught that too...makes you wonder if people are using other people's accounts. But why?
Indeed. Why...
March 15, 2016 at 9:30 am
Sean Lange (3/15/2016)
ChrisM@Work (3/15/2016)
March 15, 2016 at 9:28 am
Have I been reasonable with this guy? He crops up fairly regularly and is quite obviously well out of his depth - but I don't see a huge amount of...
March 15, 2016 at 7:37 am
Junglee_George (3/15/2016)
But everywhere it is returning a value 0, even at the previous...
March 15, 2016 at 2:45 am
girl_bj (3/14/2016)
Thanks.Is it possible to include in between new data?
Newrecord
chicago
20pax
Newrecord
Spain
10pax
Newrecord
austria
90pax
Sure:
;WITH sample_data (resultA, resultB, resultC, resultD) AS (
SELECT 'chicago', 'ID123', '20pax', 'ID123' UNION ALL
SELECT 'austria', 'ID999', '90pax', 'ID999' UNION ALL
SELECT 'Spain',...
March 15, 2016 at 2:29 am
Viewing 15 posts - 1,681 through 1,695 (of 10,144 total)