--创建测试数据库
CREATE DATABASE mytest;
GO
USE mytest;
GO
--创建测试表
CREATE TABLE Users
(
ID INT IDENTITY(1,1),
UserInfo XML
)
/*****************XML 的 Exist 操作*****************************/
---插入测试数据
DECLARE @xml XML
SET @xml='<root>
<user >'
GO
USE mytest;
GO
--创建测试表
CREATE TABLE Users
(
ID INT IDENTITY(1,1),
UserInfo XML
)
/*****************XML 的 Exist 操作*****************************/
---插入测试数据
DECLARE @xml XML
SET @xml='<root>
<user >'