序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | Diccateid | int | 4 | 0 | 是 | 是 | 否 | 数据字典分类ID | ||
2 | Categoryname | varchar | 50 | 0 | 否 | 数据字典分类名 | ||||
3 | Isused | bit | 1 | 0 | 是 | 0 | 是否启用 |
数据字典分类表
GO
CREATE TABLE [dbo].[ZL_Datadiccategory](
[Diccateid] [int] IDENTITY(1,1) NOT NULL,
[Categoryname] [varchar](50) NOT NULL,
[Isused] [bit] NULL CONSTRAINT [DF_ZL_DATADICCATEGORY_ISUSED] DEFAULT (0),
CONSTRAINT [PK_ZL_DATADICCATEGORY] PRIMARY KEY CLUSTERED
([Diccateid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
SET IDENTITY_INSERT [ZL_Datadiccategory] ON
INSERT [ZL_Datadiccategory] ( [Diccateid] , [Categoryname] , [Isused] ) VALUES ( 1 , '地区选择' , 1 )
INSERT [ZL_Datadiccategory] ( [Diccateid] , [Categoryname] , [Isused] ) VALUES ( 2 , '学历信息' , 1 )
INSERT [ZL_Datadiccategory] ( [Diccateid] , [Categoryname] , [Isused] ) VALUES ( 3 , '从事行业' , 1 )
SET IDENTITY_INSERT [ZL_Datadiccategory] OFF
detele from ZL_Datadiccategory
drop table ZL_Datadiccategory
TRUNCATE table ZL_Datadiccategory