Home  >  Article  >  Database  >  sqlserver 2008 xml 问题

sqlserver 2008 xml 问题

WBOY
WBOYOriginal
2016-06-07 15:39:441311browse

我的sqlserver2008无法定义XML数据类型,我想把一个xml(格式如下) xml row name="aaa" sex="man" age="16"/ row name="bbb" sex="woman" age="18"/ /xml 在数据库中解析成一个表(格式如下) name sex age --------------------------- aaaman 16 bbbwomn1

我的sqlserver2008无法定义XML数据类型,我想把一个xml(格式如下)

在数据库中解析成一个表(格式如下)

     name      sex      age

---------------------------

    aaa          man      16

    bbb         womn   18

请大家指导一下,谢谢!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn