文件夹信息表.sql 1.4 KB

12345678910111213141516171819202122
  1. USE [db]
  2. GO
  3. /****** 对象: Table [dbo].[FolderInfo] 脚本日期: 07/23/2015 10:27:49 ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. SET ANSI_PADDING ON
  9. GO
  10. create table [dbo].[FolderInfo](
  11. [OrderID] [varchar](50) NOT NULL, --订单号
  12. [FolderNames] [varchar](50) NULL, --文件夹名集合如:(;1;2;3;)
  13. [Photos] [varchar](max) NULL, --文件夹里的相片(;文件夹1>文件1;文件夹1>文件2;文件夹2>文件1;)
  14. [DelPhotos] [varchar](max) NULL --删除的文件名集如:(;文件夹1>文件1;文件夹1>文件2;文件夹2>文件1;)
  15. CONSTRAINT [PK_FolderInfo] PRIMARY KEY CLUSTERED
  16. (
  17. [OrderID] ASC
  18. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  19. ) on [primary]
  20. GO
  21. SET ANSI_PADDING OFF