CREATE TABLE [dbo].[QuoteTemplate]
(
[QuoteTemplateID] [int] NOT NULL IDENTITY(1, 1),
[TemplateName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[QuoteDescription] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QuoteTemplate] ADD CONSTRAINT [PK_QuoteTemplate] PRIMARY KEY CLUSTERED ([QuoteTemplateID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QuoteTemplate] ADD CONSTRAINT [IX_QuoteTemplate_TemplateName] UNIQUE NONCLUSTERED ([TemplateName]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[QuoteTemplate] TO [MssExec]
GRANT INSERT ON [dbo].[QuoteTemplate] TO [MssExec]
GRANT DELETE ON [dbo].[QuoteTemplate] TO [MssExec]
GRANT UPDATE ON [dbo].[QuoteTemplate] TO [MssExec]
GO