python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Concatenate XML Attributes SQL Server
I have an XML data set that which defines a list of Customers and all the Products the customer has purchased
<Info>
<Customer CustomerId="1">
<Product Name="A"...
Mark Davich
Votes: 0
Answers: 1
Why do we use [1] behind an order by clause in xquery expressions?
SELECT xText.query (' let $planes := /planes/plane
return <results>
{
for $x in $planes
where $x/year >= 1970
order by ($x/year)[1]
return ($x/make, $x/model,$x/year )
}
</results&...
Tharindu Anupa Hemachandra
Votes: 0
Answers: 2
Transform XML with xsi:nil="true" into a series of name-value pair
I use this compare script .
The script doesn't support NULL values in fields.
To generate the first XML I use now "FOR XML AUTO, ELEMENTS XSINIL"
<cd xmlns:xsi="http://www.w3.org/200...
Angelus
Votes: 0
Answers: 1
How to insert XML column of a table in to another table incuding the same fields
I have a table including XML column which it's Name is Bookmarks and result of select query would be Like this:
SELECT [Bookmarks] FROM [prs_Decrees]
<Bookmarks>
<Bookmark BookmarkGuid=&q...
mehrab habibi
Votes: 0
Answers: 1