CREATE TABLE [dbo].[SakariTemplate]
(
[SakariTemplateID] [int] NOT NULL IDENTITY(1, 1),
[TemplateName] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Message] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[SakariTemplate] ADD CONSTRAINT [PK_SakariTemplate] PRIMARY KEY CLUSTERED ([SakariTemplateID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SakariTemplate] ADD CONSTRAINT [IX_SakariTemplate_TemplateName] UNIQUE NONCLUSTERED ([TemplateName]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[SakariTemplate] TO [MssExec]
GRANT INSERT ON [dbo].[SakariTemplate] TO [MssExec]
GRANT DELETE ON [dbo].[SakariTemplate] TO [MssExec]
GRANT UPDATE ON [dbo].[SakariTemplate] TO [MssExec]
GO