Viewing 15 posts - 391 through 405 (of 499 total)
Even though BOL lists it as an aggregation function, I'd argue that GROUPING_ID doesn't aggregate anything. Rather, it gives an indication if a row contains aggregated values or not.
Gerald Britton, Pluralsight courses
November 20, 2014 at 7:30 am
Why does your replacement text have <a href ... twice?
What is the value of @Name when you get the incorrect output?
Gerald Britton, Pluralsight courses
November 18, 2014 at 9:43 am
Sean Lange (11/18/2014)
Gerald Britton, Pluralsight courses
November 18, 2014 at 9:02 am
super48 (11/18/2014)
In field Option we get add query field and calculated filed.
I figured out how to add calculated field but
how to right in...
Gerald Britton, Pluralsight courses
November 18, 2014 at 7:14 am
XML is case sensitive, so it can't match the attribute you are searching for.
try:
SELECT
x.item.value('@CLM_ID[1]', 'NVARCHAR(max)') AS CODE
FROM @x.nodes('//INPUT/HEADER') AS x(item)
Gerald Britton, Pluralsight courses
November 17, 2014 at 2:03 pm
please post the query you have at the moment so we can see if there are opportunities for improvement
Gerald Britton, Pluralsight courses
November 17, 2014 at 1:46 pm
you want:
SELECT
x.item.value('@clm_id[1]', 'NVARCHAR(max)') AS CODE
FROM @x.nodes('//INPUT/HEADER') AS x(item)
since you called the nodes column 'item'
Gerald Britton, Pluralsight courses
November 17, 2014 at 1:43 pm
put in some breakpoints and examine the variables used to set up the file names just before the failing operation executes. That should give you clues.
Gerald Britton, Pluralsight courses
November 17, 2014 at 7:31 am
cphite (11/14/2014)
Ed Wagner (11/14/2014)
GilaMonster (11/14/2014)
Jason-299789 (11/14/2014)
I don't disagree, and as Lynn states maybe if MS enforced it so that code wouldn't compile without the use of the statement terminators, like...
Gerald Britton, Pluralsight courses
November 14, 2014 at 1:22 pm
I may have missed something, but the only difference I can see in the IF...ELSE... clauses is this (in the else clause)
AND EnumKey != 'ClosingEntry' AND EnumKey != 'ClosingEntryRevision'
That's a...
Gerald Britton, Pluralsight courses
November 14, 2014 at 12:20 pm
nodes(), value()
Gerald Britton, Pluralsight courses
November 14, 2014 at 10:01 am
Gazareth (11/14/2014)
GilaMonster (11/14/2014)
Luis Cazares (11/13/2014)
g.britton (11/13/2014)
SeanNerd (11/13/2014)
I have a table where we cannot use the typical int identity primary key column....
Gerald Britton, Pluralsight courses
November 14, 2014 at 7:51 am
DECLARE @t TABLE(Race char(1), AgeRange char(5), Amount int)
INSERT INTO @t (Race, AgeRange, Amount) values
('W','17-20',5000),
('W','21-30',4000),
('W','31-40',2000),
('A','17-20',1000),
('H','41-50',2500),
('H','51-60',2900)
select Race,
isnull("17-20",0),
isnull("21-30",0),
isnull("31-40",0),
isnull("41-50",0),
isnull("51-60",0)
from @t t
pivot (max(Amount) for AgeRange in ("17-20", "21-30", "31-40", "41-50",...
Gerald Britton, Pluralsight courses
November 13, 2014 at 2:31 pm
Add expressions to each task that disable the tasks based on the time
Gerald Britton, Pluralsight courses
November 13, 2014 at 2:18 pm
SeanNerd (11/13/2014)
I have a table where we cannot use the typical int identity primary key column. The table can have millions...
Gerald Britton, Pluralsight courses
November 13, 2014 at 2:16 pm
Viewing 15 posts - 391 through 405 (of 499 total)