CREATE TABLE [PMA_DATI_GW].[GW_SCHED_DEF]( [SCHED_DEF_ID] [int] IDENTITY(1,1) NOT NULL, [SCHED_DEF_NAME] [varchar](100) NULL, [CRON] [varchar](4000) NULL, [HUMAN_READABLE_CRON] [varchar](4000) NULL, [START_TIME] [datetime] NULL, [DELAY] [int] NULL, [PERIOD] [int] NULL, [SCRIPT_NAME] [varchar](250) NULL, [PARAMETERS_JSON] [varchar](4000) NULL, [ENABLED] [int] NULL, [lock_end_time] [datetime] NULL, CONSTRAINT [GW_SCHED_DEF_PK] PRIMARY KEY CLUSTERED ( [SCHED_DEF_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