CREATE TABLE [dbo].[PlasticOrigin]
(
[OriginID] [int] NOT NULL IDENTITY(1, 1),
[Code] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (40) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticOrigin] ADD CONSTRAINT [PK_PlasticOrigin] PRIMARY KEY CLUSTERED ([OriginID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticOrigin] ADD CONSTRAINT [IX_PlasticOrigin_Code] UNIQUE NONCLUSTERED ([Code]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticOrigin] ADD CONSTRAINT [IX_PlasticOrigin_Description] UNIQUE NONCLUSTERED ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[PlasticOrigin] TO [MssExec]
GRANT INSERT ON [dbo].[PlasticOrigin] TO [MssExec]
GRANT DELETE ON [dbo].[PlasticOrigin] TO [MssExec]
GRANT UPDATE ON [dbo].[PlasticOrigin] TO [MssExec]
GO