CREATE TABLE "DT468_TEMP"
  (
    "RES" VARCHAR2(20 CHAR) NOT NULL ENABLE,
    "PERIODE" DATE,
    "ARBEIT"      NUMBER,
    "FAK_MENGE"   NUMBER,
    "FERIEN"      NUMBER,
    "ABWESENHEIT" NUMBER,
    "GRUNDLAST"   NUMBER,
    "OPERATIV"    NUMBER,
    "SONSTIGES"   NUMBER,
    "EINH_TAG"    NUMBER,
    "VERF_KAP"    NUMBER,
    "RSC"         VARCHAR2(50 BYTE),
    "KOMMENTAR"   NUMBER
  );

CREATE TABLE "TEMP_PERIOD_CHANGES"
  (
    "RES_ID" VARCHAR2(20 CHAR),
    "STARTPER" DATE,
    "ENDPER" DATE,
    "DONE" NUMBER(1,0) DEFAULT 0
  );