SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

SET ANSI_PADDING ON

CREATE TABLE [dbo].[WEBENGINE_LOTTERY_TICKETS](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[lottery_id] [int] NOT NULL,
	[memb___id] [varchar](50) NOT NULL,
	[buydate] [datetime] NOT NULL,
	[number1] [tinyint] NOT NULL,
	[number2] [tinyint] NOT NULL,
	[number3] [tinyint] NOT NULL,
	[number4] [tinyint] NOT NULL,
 CONSTRAINT [PK_WEBENGINE_LOTTERY_TICKETS] 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]

SET ANSI_PADDING OFF
