You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1019 B

USE [OPMSDB]
GO
/****** Object: Table [dbo].[OTB_SYS_Attachments] Script Date: 07/25/2014 10:53:14 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[OTB_SYS_AttachmentFiles](
[TargetRelationID] [varchar](36) NOT NULL,
[SourceRelationID] [varchar](36) NOT NULL,
[FileName] [nvarchar](200) NOT NULL,
[SubFileName] [nvarchar](100) NOT NULL,
[FilePath] [nvarchar](500) NULL,
[FileSize] [int] NULL,
[FileContent] [image] NULL,
[FileType] [nvarchar](50) NULL,
[FileDescription] [nvarchar](500) NULL,
[Memo] [nvarchar](max) NULL,
[CreateUser] [varchar](50) NULL,
[CreateDate] [datetime] NULL,
[ModifyUser] [varchar](50) NULL,
[ModifyDate] [datetime] NULL,
CONSTRAINT [PK_TB_SYS_AttachmentFiles] PRIMARY KEY CLUSTERED
(
[TargetRelationID] ASC,
[SourceRelationID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO