You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
No issue really...just wanted to provide the DDL for creating SCHEDULED_TASKS in db2. I basically took one of the already provided scripts, ran it thru ChatGPT and then made the necessary adjustments.
CREATE TABLE SCHEDULED_TASKS (
TASK_NAME VARCHAR(100) NOT NULL,
TASK_INSTANCE VARCHAR(100) NOT NULL,
TASK_DATA BLOB,
EXECUTION_TIME TIMESTAMP NOT NULL,
PICKED CHAR(1) NOT NULL,
PICKED_BY VARCHAR(50),
LAST_SUCCESS TIMESTAMP,
LAST_FAILURE TIMESTAMP,
CONSECUTIVE_FAILURES INT,
LAST_HEARTBEAT TIMESTAMP,
VERSION BIGINT NOT NULL
);
ALTER TABLE SCHEDULED_TASKS ADD PRIMARY KEY (TASK_NAME, TASK_INSTANCE);
CREATE INDEX SCHEDULED_TASKS_EXECUTION_TIME_IDX ON SCHEDULED_TASKS (EXECUTION_TIME ASC);
CREATE INDEX SCHEDULED_TASKS_LAST_HEARTBEAT_IDX ON SCHEDULED_TASKS (LAST_HEARTBEAT ASC);
The text was updated successfully, but these errors were encountered:
Hello,
No issue really...just wanted to provide the DDL for creating SCHEDULED_TASKS in db2. I basically took one of the already provided scripts, ran it thru ChatGPT and then made the necessary adjustments.
The text was updated successfully, but these errors were encountered: