E
E
e1s2015-10-07 20:27:49
C++ / C#
e1s, 2015-10-07 20:27:49

How to unload data from ms sql based on xsd schema?

Is it possible to unload data from the ms sql database to xml in a "programmatic" way, based on the xsd schema? The structure of this database is created in advance based on xsd (I use DataSet.ReadXmlSchema and create a database structure based on it).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Skorzhinsky, 2015-10-07
@AndyKorg

For example, you can immediately generate xml on the server using a query like "select ... from table where column = 1 FOR XML PATH" Read more MSDN

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question