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.
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?
November 18, 2014 at 9:43 am
Sean Lange (11/18/2014)
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...
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)
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
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'
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.
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...
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...
November 14, 2014 at 12:20 pm
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....
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",...
November 13, 2014 at 2:31 pm
Add expressions to each task that disable the tasks based on the time
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...
November 13, 2014 at 2:16 pm
Viewing 15 posts - 391 through 405 (of 499 total)