IF NOT EXISTS(SELECT Name FROM Sysobjects WHERE Name = 'ClubDetailScore')
BEGIN
CREATE TABLE [dbo].[ClubDetailScore](
	[Id] [INT] IDENTITY(1,1) NOT NULL,
	[ScoreId] [INT] NOT NULL,
	[StartDate] [SMALLDATETIME] NULL,
	[EndDate] [SMALLDATETIME] NULL,
	[ChargePrice] [MONEY] NULL,
	[DateUse] [SMALLDATETIME] NULL,
	[PriceUse] [MONEY] NULL,
	[FactorId] [NUMERIC](18, 0) NULL,
	[FactorGuid] [UNIQUEIDENTIFIER] NULL,
 CONSTRAINT [PK_ClubDetailScore] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)
) ON [PRIMARY]
END 

