You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
772 B
Transact-SQL

/****** Object: Table [dbo].[t_op_task_state] Script Date: 11/13/2017 09:49:05 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[t_op_task_state](
[plstate_id] [int] IDENTITY(1,1) NOT NULL,
[任务编号] [varchar](60) NOT NULL,
[任务状态] [varchar](20) NOT NULL,
[操作人] [varchar](20) NOT NULL,
[操作时间] [datetime] NOT NULL,
CONSTRAINT [PK_t_op_task_state] PRIMARY KEY CLUSTERED
(
[plstate_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]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[t_op_task_state] ADD CONSTRAINT [DF_t_op_task_state_操作时间] DEFAULT (getdate()) FOR [操作时间]
GO