序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | AlbumName | nvarchar | 200 | 0 | 是 | 相册名称 | ||||
3 | AlbumDesc | nvarchar | 4000 | 0 | 是 | 相册说明 | ||||
4 | Photos | ntext | 16 | 0 | 是 | 图片地址 |分隔 | ||||
5 | Music | nvarchar | 2000 | 0 | 是 | 背景音乐 | ||||
6 | UseTlp | int | 4 | 0 | 是 | 相册模板ID | ||||
7 | UserID | int | 4 | 0 | 是 | 创建用户ID | ||||
8 | CDate | datetime | 8 | 3 | 是 | 创建时间 |
智能相册表
GO
CREATE TABLE [dbo].[ZL_Design_Album](
[ID] [int] IDENTITY(1,1) NOT NULL,
[AlbumName] [nvarchar](200) NULL,
[AlbumDesc] [nvarchar](4000) NULL,
[Photos] [ntext] NULL,
[Music] [nvarchar](2000) NULL,
[UseTlp] [int] NULL,
[UserID] [int] NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_Design_Album] PRIMARY KEY CLUSTERED
([ID] 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]
detele from ZL_Design_Album
drop table ZL_Design_Album
TRUNCATE table ZL_Design_Album