EnVisageOnline/Main/Database/Scripts/20151216/3_AddNotificationControlTab...

31 lines
795 B
Transact-SQL

USE [EnVisage]
GO
/****** Object: Table [dbo].[NotificationControl] Script Date: 12/16/2015 1:32:58 PM ******/
if exists (select * from sys.all_objects where object_id = OBJECT_ID('NotificationControl') and type = 'U')
begin
DROP TABLE [dbo].[NotificationControl]
end
GO
/****** Object: Table [dbo].[NotificationControl] Script Date: 12/16/2015 1:32:58 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[NotificationControl](
[Id] [uniqueidentifier] NOT NULL,
[NotificationType] [int] NOT NULL,
[HowtoSend] [int] NOT NULL,
CONSTRAINT [PK_NotificationControl] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO