- 论坛徽章:
- 0
|
现如今,XML已经得到了飞速发展。随着各主流编程语言都逐渐加入对XML的支持,开发人员可以更好地在服务器端
操纵XML数据;另外,像XForms等新的Web前端展现技术日趋成熟,开发人员可以更好地在前端展现XML数据;而且,在数据库领域,一些大型数据库
也实现了对XML的原生态支持。MySQL这一开源数据库也不甘例外,逐渐增加对XML的支持,以方便开发人员更好地使用XML数据。
为了方便演示,我们先简单创建三个表
person_table:create table person_table
(id int(3) auto_increment not null primary key,
info varchar(500) not null
);
people_table:create table people_table
(id int(3) auto_increment not null primary key,
id_card int(3) not null,
name varchar(10)
);
phone_table:create table phone_table
(id int(3) auto_increment not null primary key,
id_card int(3) not null,
phone int(10)
);
接下来,我将简单地介绍如何在MySQL使用XML数据。
ChinaUnix-ITpub网站MySQL技术征文大赛
作者:IT168 upgnu
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/97806/showart_1950287.html |
|