IF NOT EXISTS (SELECT * 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,
 CONSTRAINT [PK_ClubDetailScore] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
) 
) ON [PRIMARY]
End
