表名:ZL_Design_Album












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2AlbumNamenvarchar2000    相册名称
3AlbumDescnvarchar40000    相册说明
4Photosntext160    图片地址 |分隔
5Musicnvarchar20000    背景音乐
6UseTlpint40    相册模板ID
7UserIDint40    创建用户ID
8CDatedatetime83    创建时间

简要说明:

智能相册表

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

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_Design_Album