CREATE TABLE [dbo].[ServiceCode]
(
[ServiceCodePriKey] [int] NOT NULL IDENTITY(1, 1),
[ServiceCode] [varchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[OldServiceCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ServiceCode] ADD CONSTRAINT [PK_ServiceCode] PRIMARY KEY NONCLUSTERED ([ServiceCodePriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_ServiceCode_ServiceCode] ON [dbo].[ServiceCode] ([ServiceCode]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[ServiceCode] TO [MssExec]
GRANT INSERT ON [dbo].[ServiceCode] TO [MssExec]
GRANT DELETE ON [dbo].[ServiceCode] TO [MssExec]
GRANT UPDATE ON [dbo].[ServiceCode] TO [MssExec]
GO