CREATE TABLE [dbo].[Shows]
(
[PriKey] [int] NOT NULL IDENTITY(1, 1),
[Code] [varchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Shows] ADD CONSTRAINT [PK_Shows] PRIMARY KEY CLUSTERED ([PriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Shows] ADD CONSTRAINT [IX_Shows_Code] UNIQUE NONCLUSTERED ([Code]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[Shows] TO [MssExec]
GRANT INSERT ON [dbo].[Shows] TO [MssExec]
GRANT DELETE ON [dbo].[Shows] TO [MssExec]
GRANT UPDATE ON [dbo].[Shows] TO [MssExec]
GO