CREATE TABLE [dbo].[EmailOptions]
(
[EmailOptionsPriKey] [int] NOT NULL IDENTITY(1, 1),
[EmailOption] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Sales] [smallint] NULL,
[Dispatch] [smallint] NULL,
[LogisticsCoor] [smallint] NULL,
[TransportationCoor] [smallint] NULL,
[Other] [smallint] NULL,
[OtherEmail] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LDDispatch] [smallint] NULL,
[LDDriver] [smallint] NULL,
[ProjectManager] [smallint] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[EmailOptions] ADD CONSTRAINT [PK_EmailOptions] PRIMARY KEY CLUSTERED ([EmailOptionsPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[EmailOptions] TO [MssExec]
GRANT INSERT ON [dbo].[EmailOptions] TO [MssExec]
GRANT DELETE ON [dbo].[EmailOptions] TO [MssExec]
GRANT UPDATE ON [dbo].[EmailOptions] TO [MssExec]
GO