CREATE TABLE [dbo].[pt_diag_attr_docs]
(	
	[documentid]   [int] primary key IDENTITY(1,1) NOT NULL,
	[documentname] [varchar](250) NULL,
	[documenttype] [varchar](100) NULL,
	[status] [varchar](50) NULL,
	[createdon] [datetime] NULL,
	[documentbinarydata] [varbinary](max) NULL,
	[documentbinarytype] [varchar](200) NULL,
	[documentextension] [varchar](200) NULL,
	[pt_diag_attr_key] [bigint] NOT NULL
	)