数据库有表结构如下:

mysql解析XML

 

存储的XML结构如下:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProductSpec>
<name>fdsafdsdfsa</name>
<description></description>
<price></price>
</ProductSpec>

 

现在我们需要从spec_xml中获取XML中的数据:

mysql解析XML

那么我们XML是怎么存储的呢?

mysql解析XML

 

 最后就是修改了:

mysql解析XML

这是修改函数表达式:mysql解析XML

 

相关文章:

猜你喜欢
  • 2021-12-06
  • 2022-02-10
  • 2022-12-23
  • 2022-01-17
  • 2021-06-21
  • 2021-12-06
  • 2021-11-18
相关资源
相似解决方案