序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Jsname | nvarchar | 255 | 0 | 是 | 代码名称 | ||||
3 | JsReadme | nvarchar | 1000 | 0 | 是 | 简介 | ||||
4 | ContentType | int | 4 | 0 | 是 | 内容代码格式 | ||||
5 | JsFileName | nvarchar | 255 | 0 | 是 | 文件名 | ||||
6 | JsType | int | 4 | 0 | 是 | JS类型 | ||||
7 | JsXmlContent | ntext | 16 | 0 | 是 | 配置XML内容 |
内容JS记录表
GO
CREATE TABLE [dbo].[ZL_CreateJS](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Jsname] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[JsReadme] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
[ContentType] [int] NULL,
[JsFileName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[JsType] [int] NULL,
[JsXmlContent] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
CONSTRAINT [PK_ZL_CreateJS] PRIMARY KEY CLUSTERED
(
[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'代码名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'Jsname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'简介' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'JsReadme'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容代码格式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'ContentType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'文件名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'JsFileName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'JS类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'JsType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'配置XML内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'JsXmlContent'
detele from ZL_CreateJS
drop table ZL_CreateJS
TRUNCATE table ZL_CreateJS