CREATE TABLE [dbo].[Search2]
(
	[ID] INT IDENTITY(1,1) NOT NULL,
    [UserName] VARCHAR(128) NOT NULL,
    [Name] VARCHAR(128) NULL,
    [Status] SMALLINT NOT NULL,
    [SubmitDT] DATETIME NULL,
    [StartDT] DATETIME NULL,
	[EndDT] DATETIME NULL,
    [Criteria] VARCHAR(MAX) NULL,
    [Results] VARBINARY(MAX) NULL,
	CONSTRAINT [PK_Search2] PRIMARY KEY CLUSTERED([ID])
)

GO

CREATE INDEX [IX_Search2_UserName] ON [dbo].[Search2] ([UserName])
