CREATE TABLE [dbo].[testxml](
[id] [uniqueidentifier] NOT NULL,
[xmldata] [xml] NULL,
CONSTRAINT [PK_testxml] PRIMARY KEY CLUSTERED
(
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[testxml] ADD CONSTRAINT [DF_testxml_id] DEFAULT (newid()) FOR [id]