python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
T-SQL - Save query with XML output including namespace into table or variable
I would like to save the output from the query below into a variable or a table.
However it gives an error because the query starts with "With namespace ..."
WITH XMLNAMESPACES (
'urn:oasis:...
Mark
Votes: 0
Answers: 1
SUM a column, then ADD and DIVIDE in XML (BI Publisher template), weird value?
looking for a little help with calculating a value from XML data in a BI Publisher template.
I'm trying to say
"If percentage column isn't null, then Sum up the cost column and multiply by 1 + pe...
ScottHillierDstl
Votes: 0
Answers: 1
How can I make FOR XML PATH return empty elements for an empty result?
How can I make FOR XML PATH return elements when my query returns an empty result?
This is what my query looks like:
DECLARE @StatementNumber int = 2577
SELECT
sl.statement_number [StatementNu...
JCastillo
Votes: 0
Answers: 1