USE [envisage]
GO

/****** Object:  Table [dbo].[Holiday]    Script Date: 03.06.2014 18:24:31 ******/
if exists (select * from sys.all_objects where object_id = OBJECT_ID('Holiday') and type = 'U')
begin
	DROP TABLE [dbo].[Holiday]
end
GO

/****** Object:  Table [dbo].[Holiday]    Script Date: 03.06.2014 18:24:31 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Holiday](
	[Id] [uniqueidentifier] NOT NULL,
	[Name] nvarchar(255) NOT NULL,
	[Date] datetime NOT NULL,
	[Occurrence] int NOT NULL,
	[WorkingDay] bit NOT NULL,
	[NonWorkingWeek] bit NOT NULL,
 CONSTRAINT [PK_Holiday] 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


