序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | VName | nvarchar | 100 | 0 | 是 | 视频名称 | ||||
3 | VSize | nvarchar | 500 | 0 | 是 | 视频长度 | ||||
4 | VTime | nvarchar | 100 | 0 | 是 | 视频时间 | ||||
5 | UserID | int | 4 | 0 | 是 | |||||
6 | CDate | datetime | 8 | 3 | 是 | |||||
7 | Thumbnail | nvarchar | 1000 | 0 | 是 | 缩略图 | ||||
8 | Desc | nvarchar | 1000 | 0 | 是 | 视频备注 | ||||
9 | VPath | nvarchar | 1000 | 0 | 是 | 虚拟路径 |
视频信息表
GO
CREATE TABLE [dbo].[ZL_Content_Video](
[ID] [int] IDENTITY(1,1) NOT NULL,
[VName] [nvarchar](100) NULL,
[VSize] [nvarchar](500) NULL,
[VTime] [nvarchar](100) NULL,
[UserID] [int] NULL,
[CDate] [datetime] NULL,
[Thumbnail] [nvarchar](1000) NULL,
[Desc] [nvarchar](1000) NULL,
[VPath] [nvarchar](1000) NULL,
CONSTRAINT [PK_ZL_Content_Video] 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]
detele from ZL_Content_Video
drop table ZL_Content_Video
TRUNCATE table ZL_Content_Video