CREATE TABLE [dbo].[ProductType]
(
[ProductTypeID] [int] NOT NULL IDENTITY(1, 1),
[Type] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ProductType] ADD CONSTRAINT [PK_ProductType] PRIMARY KEY NONCLUSTERED ([ProductTypeID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ProductType] ADD CONSTRAINT [IX_ProductType_Type] UNIQUE NONCLUSTERED ([Type]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[ProductType] TO [MssExec]
GRANT INSERT ON [dbo].[ProductType] TO [MssExec]
GRANT DELETE ON [dbo].[ProductType] TO [MssExec]
GRANT UPDATE ON [dbo].[ProductType] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'ProductType', 'COLUMN', N'ProductTypeID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Type of Product.', 'SCHEMA', N'dbo', 'TABLE', N'ProductType', 'COLUMN', N'Type'
GO