Click here to Skip to main content
16,020,669 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have some clarification about my sql procedure.

MY scenario is,
I have one expected output sample xml format.
i want to create stored procedure based on the sample xml and export to the below xml format.
when i execute the stored procedure i need to get the below output,

i have tried this but i couldn't get the output.
So please drop me a solution for this.

xml format:

XML
<MAIN>
  <Data>
    <getdate>13.06.2016</getdate>
    <Doc>
      <phone>1234</phone>
    </Doc>
  </Data>
</MAIN>



thanks in advance.

What I have tried:

how to export xml using stored procedure in sql server?
Posted
Updated 12-Jun-16 22:31pm

1 solution

Start with this list of resources[^]

Give it a try and if you are still having problems come back with the code you are having problems with
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900