如何在SQL Server中使用存储过程导出XML?

编程入门 行业动态 更新时间:2024-10-11 05:22:29
本文介绍了如何在SQL Server中使用存储过程导出XML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我对我的sql程序有一些说明。 我的情景是, 我有一个预期的输出样本xml格式。 i想要根据样本xml创建存储过程并导出到下面的xml格式。 当我执行存储过程时我需要获得以下输出, i已经尝试了这个但是我无法获得输出。 所以请给我一个解决方案。 xml格式:

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:

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

提前感谢。 我尝试了什么: 如何使用sql server中的存储过程导出xml?

thanks in advance. What I have tried: how to export xml using stored procedure in sql server?

推荐答案

从这个资源列表 [ ^ ] 试一试如果你还有问题,请回来代码y你有 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

更多推荐

如何在SQL Server中使用存储过程导出XML?

本文发布于:2023-10-30 07:26:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1542177.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:存储过程   如何在   Server   SQL   XML

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!