[dbo].[XmlSystemDataType]
CREATE TABLE [dbo].[XmlSystemDataType]
(
[XmlSystemDataTypeID] [int] NOT NULL IDENTITY(1, 1),
[Name] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemDataType] ADD CONSTRAINT [PK_XmlSystemDataType] PRIMARY KEY CLUSTERED ([XmlSystemDataTypeID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemDataType] ADD CONSTRAINT [IX_XmlSystemDataType_Name] UNIQUE NONCLUSTERED ([Name]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[XmlSystemDataType] TO [MssExec]
GRANT INSERT ON [dbo].[XmlSystemDataType] TO [MssExec]
GRANT DELETE ON [dbo].[XmlSystemDataType] TO [MssExec]
GRANT UPDATE ON [dbo].[XmlSystemDataType] TO [MssExec]
GO
EXEC sp_addextendedproperty N'Description', N'Defines the type of data our XmlSystems can deal with.', 'SCHEMA', N'dbo', 'TABLE', N'XmlSystemDataType', NULL, NULL
GO
EXEC sp_addextendedproperty N'MS_Description', N'The name of the data type.', 'SCHEMA', N'dbo', 'TABLE', N'XmlSystemDataType', 'COLUMN', N'Name'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'XmlSystemDataType', 'COLUMN', N'XmlSystemDataTypeID'
GO