if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UPLOAD_GUID_TABLE]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[UPLOAD_GUID_TABLE]
GO

CREATE TABLE [dbo].[UPLOAD_GUID_TABLE] (
	[Object_Name] [varchar] (30) NOT NULL ,
	[Port] [int] NOT NULL ,
	[GUID] [char] (38) NOT NULL ,
	[Upload_id] [int] NULL ,
	[CAPS_id] [char] (10) NULL 
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[UPLOAD_GUID_TABLE] WITH NOCHECK ADD 
	CONSTRAINT [PK_UPLOAD_GUID_TABLE] PRIMARY KEY  CLUSTERED 
	(
		[Object_Name],
		[Port]
	)  ON [PRIMARY] 
GO

