表名:ZL_MisType












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40  类型ID
2TypeNamenvarchar500    类型名称
3TypeDescribenvarchar2550    类型描述
4CreateTimedatetime83    创建时间

简要说明:

OA流程类型表

GO
CREATE TABLE [dbo].[ZL_MisType] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[TypeName] [nvarchar]  (50) NOT NULL,
[TypeDescribe] [nvarchar]  (255) NULL,
[CreateTime] [datetime]  NULL)
ALTER TABLE [ZL_MisType] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_MisType] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_MisType] ON
INSERT [ZL_MisType] ([ID],[TypeName],[TypeDescribe],[CreateTime]) VALUES ( 1,N'公文类',N'公文类',N'2014/4/2 11:24:01')
INSERT [ZL_MisType] ([ID],[TypeName],[TypeDescribe],[CreateTime]) VALUES ( 2,N'事务类',N'事务类',N'2014/4/3 17:26:24')
SET IDENTITY_INSERT [ZL_MisType] OFF

--注意:将清空全表数据

detele from ZL_MisType

--注意:将删除整个表

drop table ZL_MisType

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

TRUNCATE table ZL_MisType