|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Is there an option you can add to a sql query that would give me XML
output which also includes the datatype. Example: I would like the XML output to show <property name="LinkNumber" type ="Integer">101</property> I am able to get the XML output using "For XML" in the sql but it does not display the "data type" field along with it. It would be great if someone knows how this can be achieved. Thank you there isn't anything builtin. you will have to determine the datatype and
include it with your query. -- Show quote-oj <reachm***@gmail.com> wrote in message news:1151155504.104501.105920@p79g2000cwp.googlegroups.com... > Is there an option you can add to a sql query that would give me XML > output which also includes the datatype. > > Example: > > I would like the XML output to show > > <property name="LinkNumber" type ="Integer">101</property> > > I am able to get the XML output using "For XML" in the sql but it does > not display the "data type" field along with it. > > It would be great if someone knows how this can be achieved. > > Thank you > |
|||||||||||||||||||||||