CREATE TABLE VS4TAccountDay
	(
	TDayDate datetime NOT NULL,
	TDayWeekDay smallint NULL,
	TDayWeek smallint NULL,
	TDayMonth smallint NULL,
	TDayQuarter smallint NULL,
	TDayYear smallint NULL,
	TDayFlag1 smallint NULL,
	TDayFlag2 smallint NULL,
	TDayFlag3 datetime NULL
	)  ON [PRIMARY]
GO
ALTER TABLE VS4TAccountDay ADD CONSTRAINT
	PK_VS4TAccountDay PRIMARY KEY CLUSTERED 
	(
	TDayDate
	) ON [PRIMARY]

GO
