ALTER TABLE TMSYSTEM.ASWBKLDNL ADD CONSTRAINT  ASWBKLDNL_PK PRIMARY KEY (DNLTRM,DNLASW,DNLBKL);
ALTER TABLE TMSYSTEM.G2004TYPTASTEN ADD CONSTRAINT  G2004TYPTASTEN_PK PRIMARY KEY (TTNTTY,TTNTAS);
ALTER TABLE TMSYSTEM.G2005ZEITPUNKT ADD CONSTRAINT  G2005ZEITPUNKT_PK PRIMARY KEY (TZUZPL,TZUUHR);
ALTER TABLE TMSYSTEM.G2006DATDNLLST ADD CONSTRAINT  G2006DATDNLLST_PK PRIMARY KEY (DDLLIZ,DDLMND,DDLNAM,DDLTYP);
ALTER TABLE TMSYSTEM.G2006TXTDNLLST ADD CONSTRAINT  G2006TXTDNLLST_PK PRIMARY KEY (TXTLIZ,TXTMND,TXTNAM,TXTTYP,TXTLFD);
ALTER TABLE TMSYSTEM.G2100TASLST ADD CONSTRAINT  G2100TASLST_PK PRIMARY KEY (TTANUM,TTATYP,TTATAS);
ALTER TABLE TMSYSTEM.G2101SALLST ADD CONSTRAINT  G2101SALLST_PK PRIMARY KEY (TSASAL,TSALFD);
ALTER TABLE TMSYSTEM.G2102UPLLST ADD CONSTRAINT  G2102UPLLST_PK PRIMARY KEY (TUWUPL,TUWDTN,TUWLFD);
ALTER TABLE TMSYSTEM.G2103DNLLST ADD CONSTRAINT  G2103DNLLST_PK PRIMARY KEY (DLLNAM,DLLDTN,DLLLFN);
ALTER TABLE TMSYSTEM.MGSSTFCD ADD CONSTRAINT  MGSSTFCD_PK PRIMARY KEY (FCDLIZ,FCDMND,FCDNUM);
ALTER TABLE TMSYSTEM.MGSSTFTG ADD CONSTRAINT  MGSSTFTG_PK PRIMARY KEY (FTGTRM,FTGLIZ,FTGMND,FTGDTM,FTGKAL);
ALTER TABLE TMSYSTEM.MGSSTMDT ADD CONSTRAINT  MGSSTMDT_PK PRIMARY KEY (MDTLIZ,MDTMND,MDTASW,MDTDTM,MDTSTS);
ALTER TABLE TMSYSTEM.MGSSTMST ADD CONSTRAINT  MGSSTMST_PK PRIMARY KEY (MSTLIZ,MSTMND,MSTASW,MSTSTS,MSTVBI,MSTVON);
ALTER TABLE TMSYSTEM.MGSST20P ADD CONSTRAINT  MGSST20P_PK PRIMARY KEY (M20TRM,M20SCH,M20TG1,M20ZZ2,M20OFV);
ALTER TABLE TMSYSTEM.MGSST35P ADD CONSTRAINT  MGSST35P_PK PRIMARY KEY (M35TRM,M35FIR,M35BKL,M35LES,M35WLE,M35WPL);
ALTER TABLE TMSYSTEM.MGSST41P ADD CONSTRAINT  MGSST41P_PK PRIMARY KEY (M41TRM,M41FIR,M41ZPL,M41WNR,M41ZZO,M41TNR,M41VON);
ALTER TABLE TMSYSTEM.O1201FORMULAR ADD CONSTRAINT  O1201FORMULAR_PK PRIMARY KEY (FMRNUM);
ALTER TABLE TMSYSTEM.O1201SPRACHE ADD CONSTRAINT  O1201SPRACHE_PK PRIMARY KEY (SPRNUM);
ALTER TABLE TMSYSTEM.O1801SCHALT ADD CONSTRAINT  O1801SCHALT_PK PRIMARY KEY (SFLNUM);
ALTER TABLE TMSYSTEM.O1803FRMSCHALTLST ADD CONSTRAINT  O1803FRMSCHALTLST_PK PRIMARY KEY (FRMSFLFRM,FRMSFLSCH);
ALTER TABLE TMSYSTEM.O2000TASTTEXTE ADD CONSTRAINT  O2000TASTTEXTE_PK PRIMARY KEY (TAZNUM);
ALTER TABLE TMSYSTEM.O2001SALTEXTE ADD CONSTRAINT  O2001SALTEXTE_PK PRIMARY KEY (STXNAM,STXSPR,STXNUM);
ALTER TABLE TMSYSTEM.O2002SALWERTE ADD CONSTRAINT  O2002SALWERTE_PK PRIMARY KEY (SWTNUM);
ALTER TABLE TMSYSTEM.O2002TSW ADD CONSTRAINT  O2002TSW_PK PRIMARY KEY (TSWIDN);
ALTER TABLE TMSYSTEM.O2003BUCHCODE ADD CONSTRAINT  O2003BUCHCODE_PK PRIMARY KEY (TBCCOD);
ALTER TABLE TMSYSTEM.O2004TASTTYP ADD CONSTRAINT  O2004TASTTYP_PK PRIMARY KEY (TTYNAM);
ALTER TABLE TMSYSTEM.O2005ZEITMODELL ADD CONSTRAINT  O2005ZEITMODELL_PK PRIMARY KEY (TZMNAM);
ALTER TABLE TMSYSTEM.O2006TRMDATEI ADD CONSTRAINT  O2006TRMDATEI_PK PRIMARY KEY (TRDNAM,TRDTYP,TRDLIZ,TRDMND);
ALTER TABLE TMSYSTEM.O2007TRMTYP ADD CONSTRAINT  O2007TRMTYP_PK PRIMARY KEY (TMTNAM);
ALTER TABLE TMSYSTEM.O2008TRANSPROT ADD CONSTRAINT  O2008TRANSPROT_PK PRIMARY KEY (TRSDAT);
ALTER TABLE TMSYSTEM.O2009BUCHPROT ADD CONSTRAINT  O2009BUCHPROT_PK PRIMARY KEY (BPRTRM,BPRZLS,BPRDTE);
ALTER TABLE TMSYSTEM.O2100TASTTAB ADD CONSTRAINT  O2100TASTTAB_PK PRIMARY KEY (TTTNAM);
ALTER TABLE TMSYSTEM.O2101SALTAB ADD CONSTRAINT  O2101SALTAB_PK PRIMARY KEY (TSLNAM);
ALTER TABLE TMSYSTEM.O2102UPLTAB ADD CONSTRAINT  O2102UPLTAB_PK PRIMARY KEY (TUMNAM);
ALTER TABLE TMSYSTEM.O2103DNLTAB ADD CONSTRAINT  O2103DNLTAB_PK PRIMARY KEY (TDNNAM);
ALTER TABLE TMSYSTEM.O2106MIN ADD CONSTRAINT  O2106MIN_PK PRIMARY KEY (MINMIN);
ALTER TABLE TMSYSTEM.O2106TFK ADD CONSTRAINT  O2106TFK_PK PRIMARY KEY (TFKTTT,TFKTNM,TFKWTG);
ALTER TABLE TMSYSTEM.O2107TTF ADD CONSTRAINT  O2107TTF_PK PRIMARY KEY (TTFTTT,TTFTNM,TTFMNU);
ALTER TABLE TMSYSTEM.O2108TTA ADD CONSTRAINT  O2108TTA_PK PRIMARY KEY (TTANUM,TTATYP,TTAMNU,TTATAS,TTAPOS);
ALTER TABLE TMSYSTEM.O2200SZL ADD CONSTRAINT  O2200SZL_PK PRIMARY KEY (SZLTXT,SZLWRT);
ALTER TABLE TMSYSTEM.SALASWDNL ADD CONSTRAINT  SALASWDNL_PK PRIMARY KEY (DNLSAL,DNLLIZ,DNLMND,DNLSPR,DNLASW);
ALTER TABLE TMSYSTEM.SALASWDNL2 ADD CONSTRAINT  SALASWDNL2_PK PRIMARY KEY (DNLSAL,DNLLIZ,DNLMND,DNLSPR,DNLASW,DNLWRT);
ALTER TABLE TMSYSTEM.TMSASWDNL ADD CONSTRAINT  TMSASWDNL_PK PRIMARY KEY (DNLKEY,DNLLFD);
ALTER TABLE TMSYSTEM.TMSAUTODNL ADD CONSTRAINT  TMSAUTODNL_PK PRIMARY KEY (DNLKEY,DNLUSR,DNLTRM);
ALTER TABLE TMSYSTEM.TMSJOBS ADD CONSTRAINT  TMSJOBS_PK PRIMARY KEY (JOBUSR);
ALTER TABLE TMSYSTEM.TMS000CHK ADD CONSTRAINT  TMS000CHK_PK PRIMARY KEY (CHKPRG);
ALTER TABLE TMSYSTEM.TMS000LOG ADD CONSTRAINT  TMS000LOG_PK PRIMARY KEY (LOGIDE,LOGPRG,LOGDAT);
ALTER TABLE TMSYSTEM.TMS000USR ADD CONSTRAINT  TMS000USR_PK PRIMARY KEY (USRIDE);
ALTER TABLE TMSYSTEM.TMS001ERR ADD CONSTRAINT  TMS001ERR_PK PRIMARY KEY (ERRPRM,ERRLFD);
ALTER TABLE TMSYSTEM.TMS001LNK ADD CONSTRAINT  TMS001LNK_PK PRIMARY KEY (LNKSBE,LNKNUM);

ALTER TABLE TMSYSTEM.TMS001PRM ADD CONSTRAINT  TMS001PRM_PK PRIMARY KEY (PRMNUM,PRMLFD);
ALTER TABLE TMSYSTEM.TMS002ERR ADD CONSTRAINT  TMS002ERR_PK PRIMARY KEY (ERRPRM,ERRLFD,ERRPNR,ERRKEY,ERRNUM);
ALTER TABLE TMSYSTEM.TMS002PRM ADD CONSTRAINT  TMS002PRM_PK PRIMARY KEY (PRMNUM,PRMLFD,PRMTYP);
ALTER TABLE TMSYSTEM.TMS003ERR ADD CONSTRAINT  TMS003ERR_PK PRIMARY KEY (ERRPRM,ERRLFD,ERRTYP,ERRPNR,ERRKEY,ERRNUM);
ALTER TABLE TMSYSTEM.TMS003PRM ADD CONSTRAINT  TMS003PRM_PK PRIMARY KEY (PRMNUM,PRMLFD,PRMTYP);
ALTER TABLE TMSYSTEM.TMS004PRM ADD CONSTRAINT  TMS004PRM_PK PRIMARY KEY (PRMNUM,PRMLFD,PRMTYP);
ALTER TABLE TMSYSTEM.TMS010HIS ADD CONSTRAINT  TMS010HIS_PK PRIMARY KEY (HISTNR,HISLFD);
ALTER TABLE TMSYSTEM.TMS010TAZ ADD CONSTRAINT  TMS010TAZ_PK PRIMARY KEY (TAZDEF,TAZMSK);
ALTER TABLE TMSYSTEM.TMS100DBFLD ADD CONSTRAINT  TMS100DBFLD_PK PRIMARY KEY (TBSTNA,TBSLFD);
ALTER TABLE TMSYSTEM.TMS100TBS ADD CONSTRAINT  TMS100TBS_PK PRIMARY KEY (TBSTNA,TBSLFD);
ALTER TABLE TMSYSTEM.TMS102FTX ADD CONSTRAINT  TMS102FTX_PK PRIMARY KEY (FTXNUM);
ALTER TABLE TMSYSTEM.TMS102TXT ADD CONSTRAINT  TMS102TXT_PK PRIMARY KEY (TEXNUMSPR,TEXWHL,TEXSPR);
ALTER TABLE TMSYSTEM.TMS102WHL ADD CONSTRAINT  TMS102WHL_PK PRIMARY KEY (FTXNUMSPR,FTXWHL,FTXSPR);
ALTER TABLE TMSYSTEM.TMS103DMYANM ADD CONSTRAINT  TMS103DMYANM_PK PRIMARY KEY (DMYANM,DMYFRM,DMYFLD);
ALTER TABLE TMSYSTEM.TMS103FRM ADD CONSTRAINT  TMS103FRM_PK PRIMARY KEY (FRMNAM,FRMLFD);
ALTER TABLE TMSYSTEM.TMS103FRMANM ADD CONSTRAINT  TMS103FRMANM_PK PRIMARY KEY (PFRANM,PFRFRM,PFRFLD);
ALTER TABLE TMSYSTEM.TMS103FRMRTR ADD CONSTRAINT  TMS103FRMRTR_PK PRIMARY KEY (RTRNUM,RTRLFD);
ALTER TABLE TMSYSTEM.TMS103FRMTXT ADD CONSTRAINT  TMS103FRMTXT_PK PRIMARY KEY (FRMTXTFRM,FRMTXTBLK,FRMTXTFTX,FRMTXTWHL);
ALTER TABLE TMSYSTEM.TMS104WEB ADD CONSTRAINT  TMS104WEB_PK PRIMARY KEY (WEBANM,WEBLIZ,WEBMND);
ALTER TABLE TMSYSTEM.TMS106TYP ADD CONSTRAINT  TMS106TYP_PK PRIMARY KEY (TYPTYP);
ALTER TABLE TMSYSTEM.TMS107KKR ADD CONSTRAINT  TMS107KKR_PK PRIMARY KEY (KKRNUM);
ALTER TABLE TMSYSTEM.TMS107KKZ ADD CONSTRAINT  TMS107KKZ_PK PRIMARY KEY (KKZKKR,KKZMND,KKZLIZ);
ALTER TABLE TMSYSTEM.TMS107KSB ADD CONSTRAINT  TMS107KSB_PK PRIMARY KEY (KSBLIZ,KSBMND,KSBNAM);

ALTER TABLE TMSYSTEM.TMS108PWA ADD CONSTRAINT  TMS108PWA_PK PRIMARY KEY (PWANUM);
ALTER TABLE TMSYSTEM.TMS108PWC ADD CONSTRAINT  TMS108PWC_PK PRIMARY KEY (PWCANM,PWCLIZ,PWCMND,PWCNUM);
ALTER TABLE TMSYSTEM.TMS109INS ADD CONSTRAINT  TMS109INS_PK PRIMARY KEY (INSPRD);
ALTER TABLE TMSYSTEM.TMS110LIZ ADD CONSTRAINT  TMS110LIZ_PK PRIMARY KEY (LIZLIZ,LIZMND,LIZPRD);
ALTER TABLE TMSYSTEM.TMS110TTB ADD CONSTRAINT  TMS110TTB_PK PRIMARY KEY (TTBNAM,TTBLIZ,TTBMND);
ALTER TABLE TMSYSTEM.TMS111ANM ADD CONSTRAINT  TMS111ANM_PK PRIMARY KEY (ANMANM,ANMLIZ,ANMMND);
ALTER TABLE TMSYSTEM.TMS111TFK ADD CONSTRAINT  TMS111TFK_PK PRIMARY KEY (TFKTTT,TFKTNM,TFKWTG,TFKLIZ,TFKMND);
ALTER TABLE TMSYSTEM.TMS112MND ADD CONSTRAINT  TMS112MND_PK PRIMARY KEY (MNDLIZ,MNDNUM);
ALTER TABLE TMSYSTEM.TMS112TMD ADD CONSTRAINT  TMS112TMD_PK PRIMARY KEY (TMDLIZ,TMDNUM);
ALTER TABLE TMSYSTEM.TMS112TTA ADD CONSTRAINT  TMS112TTA_PK PRIMARY KEY (TTANUM,TTATYP,TTAMNU,TTATAS,TTAPOS,TTALIZ,TTAMND);
ALTER TABLE TMSYSTEM.TMS113AWV ADD CONSTRAINT  TMS113AWV_PK PRIMARY KEY (AWVNUM);
ALTER TABLE TMSYSTEM.TMS113STO ADD CONSTRAINT  TMS113STO_PK PRIMARY KEY (STONUM);
ALTER TABLE TMSYSTEM.TMS114TKD ADD CONSTRAINT  TMS114TKD_PK PRIMARY KEY (TKDNAM);
ALTER TABLE TMSYSTEM.TMS114TSM ADD CONSTRAINT  TMS114TSM_PK PRIMARY KEY (TSMNAM);
ALTER TABLE TMSYSTEM.TMS1140COM ADD CONSTRAINT  TMS1140COM_PK PRIMARY KEY (COMNAM);
ALTER TABLE TMSYSTEM.TMS1140SLT ADD CONSTRAINT  TMS1140SLT_PK PRIMARY KEY (SLTTRM,SLTNUM);
ALTER TABLE TMSYSTEM.TMS1140STS ADD CONSTRAINT  TMS1140STS_PK PRIMARY KEY (STSNAM,STSKOM);
ALTER TABLE TMSYSTEM.TMS1140TRM ADD CONSTRAINT  TMS1140TRM_PK PRIMARY KEY (TRMNAM,TRMLIZ,TRMMND);
ALTER TABLE TMSYSTEM.TMS115TFZ ADD CONSTRAINT  TMS115TFZ_PK PRIMARY KEY (TFZTRM,TFZLIZ,TFZMND);
ALTER TABLE TMSYSTEM.TMS116MSG ADD CONSTRAINT  TMS116MSG_PK PRIMARY KEY (MSGLFD,MSGLIZ,MSGMND,MSGUSR);
ALTER TABLE TMSYSTEM.TMS119MSD ADD CONSTRAINT  TMS119MSD_PK PRIMARY KEY (MSDSAL,MSDLFD,MSDLIZ,MSDMND);
ALTER TABLE TMSYSTEM.TMS119MST ADD CONSTRAINT  TMS119MST_PK PRIMARY KEY (MSTNAM,MSTLIZ,MSTMND);
ALTER TABLE TMSYSTEM.TMS120KID ADD CONSTRAINT  TMS120KID_PK PRIMARY KEY (KIDKST,KIDMND,KIDLIZ);
ALTER TABLE TMSYSTEM.TMS121QUA ADD CONSTRAINT  TMS121QUA_PK PRIMARY KEY (QUAQUA,QUAMND,QUALIZ);
ALTER TABLE TMSYSTEM.TMS122DIC ADD CONSTRAINT  TMS122DIC_PK PRIMARY KEY (DICKEY,DICFNA);
ALTER TABLE TMSYSTEM.TMS122DI2 ADD CONSTRAINT  TMS122DI2_PK PRIMARY KEY (DI2KEY,DI2FNA,DI2SPR);
ALTER TABLE TMSYSTEM.TMS132TTP ADD CONSTRAINT  TMS132TTP_PK PRIMARY KEY (TTPNUM);
ALTER TABLE TMSYSTEM.TMS133BAK ADD CONSTRAINT  TMS133BAK_PK PRIMARY KEY (BAKDTM);
ALTER TABLE TMSYSTEM.TMS133KAL ADD CONSTRAINT  TMS133KAL_PK PRIMARY KEY (KALNUM,KALDTM);
ALTER TABLE TMSYSTEM.TMS133PKZ ADD CONSTRAINT  TMS133PKZ_PK PRIMARY KEY (PKZLKZ,PKZPLZ,PKZORT);
ALTER TABLE TMSYSTEM.TMS135MUW ADD CONSTRAINT  TMS135MUW_PK PRIMARY KEY (MUWKAL);
ALTER TABLE TMSYSTEM.TMS137WC2 ADD CONSTRAINT  TMS137WC2_PK PRIMARY KEY (WC2KAL,WC2TAG);
ALTER TABLE TMSYSTEM.TMS138ZPL ADD CONSTRAINT  TMS138ZPL_PK PRIMARY KEY (ZPLNUM,ZPLMND,ZPLLIZ);
ALTER TABLE TMSYSTEM.TMS139TPL ADD CONSTRAINT  TMS139TPL_PK PRIMARY KEY (TPLZPL,TPLNUM,TPLWTG,TPLVON,TPLLIZ,TPLMND);
ALTER TABLE TMSYSTEM.TMS140DPL ADD CONSTRAINT  TMS140DPL_PK PRIMARY KEY (DPLLIZ,DPLMND,DPLNUM);
ALTER TABLE TMSYSTEM.TMS141DZT ADD CONSTRAINT  TMS141DZT_PK PRIMARY KEY (DZTLIZ,DZTMND,DZTZPL,DZTNUM,DZTWTG,DZTVON);
ALTER TABLE TMSYSTEM.TMS200ACK ADD CONSTRAINT  TMS200ACK_PK PRIMARY KEY (ACKMSG,ACKANM,ACKMND,ACKLIZ);
ALTER TABLE TMSYSTEM.TMS200MSG ADD CONSTRAINT  TMS200MSG_PK PRIMARY KEY (MSGUID);
ALTER TABLE TMSYSTEM.TMS230RMA ADD CONSTRAINT  TMS230RMA_PK PRIMARY KEY (RMAANM,RMANUM,RMAWHL);
ALTER TABLE TMSYSTEM.TMS230RML ADD CONSTRAINT  TMS230RML_PK PRIMARY KEY (RMLNUM,RMLWHL,RMLMSK,RMLBAB);
ALTER TABLE TMSYSTEM.TMS230RMP ADD CONSTRAINT  TMS230RMP_PK PRIMARY KEY (RMPANM,RMPNUM,RMPWHL,RMPFNA);
ALTER TABLE TMSYSTEM.TMS300LPR ADD CONSTRAINT  TMS300LPR_PK PRIMARY KEY (LPRTYP,LPRLIZ,LPRMND);
ALTER TABLE TMSYSTEM.TMS301ASW ADD CONSTRAINT  TMS301ASW_PK PRIMARY KEY (ASWNUM,ASWGVO,ASWBKL);
ALTER TABLE TMSYSTEM.TMS301AWB ADD CONSTRAINT  TMS301AWB_PK PRIMARY KEY (AWBASW,AWBBKL,AWBLIZ,AWBMND);
ALTER TABLE TMSYSTEM.TMS301BKL ADD CONSTRAINT  TMS301BKL_PK PRIMARY KEY (BKLASW,BKLGVO,BKLBKL,BKLART,BKLLIZ,BKLMND);
ALTER TABLE TMSYSTEM.TMS321BEW ADD CONSTRAINT  TMS321BEW_PK PRIMARY KEY (BEWTID,BEWIDN,BEWSTO,BEWDTM,BEWUHR,BEWLFN,BEWSRC);
ALTER TABLE TMSYSTEM.TMS401ZAU ADD CONSTRAINT  TMS401ZAU_PK PRIMARY KEY (ZAUGRP);
ALTER TABLE TMSYSTEM.TMS401ZLK ADD CONSTRAINT  TMS401ZLK_PK PRIMARY KEY (ZLKTRM,ZLKLES,ZLKTRK,ZLKLEK);
ALTER TABLE TMSYSTEM.TMS401ZLS ADD CONSTRAINT  TMS401ZLS_PK PRIMARY KEY (ZLSTRM,ZLSLES);
ALTER TABLE TMSYSTEM.TMS402ZKO ADD CONSTRAINT  TMS402ZKO_PK PRIMARY KEY (ZKONUM);
ALTER TABLE TMSYSTEM.TMS402ZPK ADD CONSTRAINT  TMS402ZPK_PK PRIMARY KEY (ZPKTRM,ZPKLES,ZPKDTM,ZPKUHR,ZPKLFD);
ALTER TABLE TMSYSTEM.TMS402ZUZ ADD CONSTRAINT  TMS402ZUZ_PK PRIMARY KEY (ZUZNUM,ZUZVON);
ALTER TABLE TMSYSTEM.TMS402ZZZ ADD CONSTRAINT  TMS402ZZZ_PK PRIMARY KEY (ZZZNUM);
ALTER TABLE TMSYSTEM.TMS403ZBK ADD CONSTRAINT  TMS403ZBK_PK PRIMARY KEY (ZBKNUM);
ALTER TABLE TMSYSTEM.TMS404ZBR ADD CONSTRAINT  TMS404ZBR_PK PRIMARY KEY (ZBRZBK,ZBRTTP,ZBRZKO);
ALTER TABLE TMSYSTEM.TMS405ZUG ADD CONSTRAINT  TMS405ZUG_PK PRIMARY KEY (ZUGGRP);
ALTER TABLE TMSYSTEM.TMS405ZU1 ADD CONSTRAINT  TMS405ZU1_PK PRIMARY KEY (ZU1GRP,ZU1ZZS);
ALTER TABLE TMSYSTEM.TMS405ZZS ADD CONSTRAINT  TMS405ZZS_PK PRIMARY KEY (ZZSNUM);
ALTER TABLE TMSYSTEM.TMS406ZAA ADD CONSTRAINT  TMS406ZAA_PK PRIMARY KEY (ZAANUM,ZAAISY,ZAAEMP);
ALTER TABLE TMSYSTEM.TMS406ZAK ADD CONSTRAINT  TMS406ZAK_PK PRIMARY KEY (ZAKZAP,ZAKTTP,ZAKZZZ,ZAKZUG,ZAKZAA);
ALTER TABLE TMSYSTEM.TMS406ZAP ADD CONSTRAINT  TMS406ZAP_PK PRIMARY KEY (ZAPNUM);
ALTER TABLE TMSYSTEM.TMS421KSTS ADD CONSTRAINT  TMS421KSTS_PK PRIMARY KEY (KSTSTID);
ALTER TABLE TMSYSTEM.TMS500JOB ADD CONSTRAINT  TMS500JOB_PK PRIMARY KEY (JOBDA1,JOBKE2);
ALTER TABLE TMSYSTEM.TMS510ZSP ADD CONSTRAINT  TMS510ZSP_PK PRIMARY KEY (ZSPLIZ,ZSPMND,ZSPUSR,ZSPFRM,ZSPKEY);
ALTER TABLE TMSYSTEM.TMS511STK ADD CONSTRAINT  TMS511STK_PK PRIMARY KEY (STKDAT,STKSEK,STKUSE,STKLIZ,STKMND,STKUSR,STKFRM);
ALTER TABLE TMSYSTEM.TMS512DBG ADD CONSTRAINT  TMS512DBG_PK PRIMARY KEY (DBGDATTIM,DBGDATSEK,DBGDATUSE);
ALTER TABLE TMSYSTEM.TMS650ART ADD CONSTRAINT  TMS650ART_PK PRIMARY KEY (ARTVON,ARTART);
ALTER TABLE TMSYSTEM.TMS651LVP ADD CONSTRAINT  TMS651LVP_PK PRIMARY KEY (LVPLND,LVPVON);
ALTER TABLE TMSYSTEM.TMS680IAS ADD CONSTRAINT  TMS680IAS_PK PRIMARY KEY (IASNAM);
ALTER TABLE TMSYSTEM.TMS800DWH ADD CONSTRAINT  TMS800DWH_PK PRIMARY KEY (DWHLIZ,DWHMND,DWHNAM,DWHSTT,DWHSBE);
ALTER TABLE TMSYSTEM.TMS800PRTREP ADD CONSTRAINT  TMS800PRTREP_PK PRIMARY KEY (PRTBER,PRTNAM);
ALTER TABLE TMSYSTEM.TMS800REP ADD CONSTRAINT  TMS800REP_PK PRIMARY KEY (REPNAM,REPBER);
ALTER TABLE TMSYSTEM.TMS800SCD ADD CONSTRAINT  TMS800SCD_PK PRIMARY KEY (SCDNAM,SCDLIZ,SCDMND,SCDSBE);
ALTER TABLE TMSYSTEM.TMS800ZUO ADD CONSTRAINT  TMS800ZUO_PK PRIMARY KEY (ZUOTAB,ZUOLFD,ZUOFLD);
ALTER TABLE TMSYSTEM.TMS801EMA ADD CONSTRAINT  TMS801EMA_PK PRIMARY KEY (EMASCD,EMALIZ,EMAMND,EMASBE,EMALFD);
ALTER TABLE TMSYSTEM.TMS801GRP ADD CONSTRAINT  TMS801GRP_PK PRIMARY KEY (GRPLIZ,GRPMND,GRPDWH,GRPTYP,GRPKEY,GRPGPO,GRPPOS,GRPSTT,GRPSBE,GRPFLC);
ALTER TABLE TMSYSTEM.TMS801ZUO ADD CONSTRAINT  TMS801ZUO_PK PRIMARY KEY (ZUOTAB,ZUOFLD,ZUOBER);
ALTER TABLE TMSYSTEM.TMS802FLD ADD CONSTRAINT  TMS802FLD_PK PRIMARY KEY (FLDLIZ,FLDMND,FLDDWH,FLDTYP,FLDKEY,FLDSTT,FLDSPR,FLDSBE);
ALTER TABLE TMSYSTEM.TMS803OPT ADD CONSTRAINT  TMS803OPT_PK PRIMARY KEY (OPTLIZ,OPTMND,OPTDWH,OPTSTT,OPTSBE,OPTKEY);
ALTER TABLE TMSYSTEM.TMS899TXT ADD CONSTRAINT  TMS899TXT_PK PRIMARY KEY (TXTLIZ,TXTMND,TXTTYP,TXTKEY);
ALTER TABLE TMSYSTEM.TMS900ENT ADD CONSTRAINT  TMS900ENT_PK PRIMARY KEY (ENTKEY,ENTPNR);
ALTER TABLE TMSYSTEM.TMS900PRT ADD CONSTRAINT  TMS900PRT_PK PRIMARY KEY (PRTKEY,PRTPRG);
ALTER TABLE TMSYSTEM.TMS901TABELLEN ADD CONSTRAINT  TMS901TABELLEN_PK PRIMARY KEY (TABNAM);
ALTER TABLE TMSYSTEM.TMS999TMP ADD CONSTRAINT  TMS999TMP_PK PRIMARY KEY (TMPUSR,TMPSTR);
ALTER TABLE TMSYSTEM.TRMASWDNL ADD CONSTRAINT  TRMASWDNL_PK PRIMARY KEY (DNLTRM,DNLASW);
ALTER TABLE TMSYSTEM.VERSIONSHISTORIE ADD CONSTRAINT  VERSIONSHISTORIE_PK PRIMARY KEY (VERSION,MODUL,FORMULAR,AUFTRAG,REITER);
