生成Xml结构 [英] generating Xml structure

查看:72
本文介绍了生成Xml结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello House,请问有谁知道从PostgreSql生成XML结构的语法?在SQL服务器中我使用这样的东西:SELECT receiptno,retype,make FROM FROM for AUTO AUTO,Elements;但我不知道如何在PostgreSql中做到这一点。在此先感谢。

解决方案

试试这个...... :)



http://www.postgresql.org/docs/9.2/static/datatype-xml.html [<一个href =http://www.postgresql.org/docs/9.2/static/datatype-xml.html\"target =_ blanktitle =新窗口> ^ ]



http://www.postgresql.org/docs/devel /static/functions-xml.html [ ^ ]

Hello House, please does anyone know the syntax for generating XML structure from PostgreSql? in SQL server i use something like this: SELECT receiptno,retype,make FROM receipt for XML AUTO, Elements; but i dont know how to do it in PostgreSql. Thanks in advance.

解决方案

Try this...:)

http://www.postgresql.org/docs/9.2/static/datatype-xml.html[^]

http://www.postgresql.org/docs/devel/static/functions-xml.html[^]


这篇关于生成Xml结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆