ALTER TABLE %SCHEMA%.G1102ABTLST ADD CONSTRAINT  G1102ABTLST_PK PRIMARY KEY (ABLVAB,ABLABT);
ALTER TABLE %SCHEMA%.G1103KSTLST ADD CONSTRAINT  G1103KSTLST_PK PRIMARY KEY (KSLVKS,KSLKST);
ALTER TABLE %SCHEMA%.G1104KTRLST ADD CONSTRAINT  G1104KTRLST_PK PRIMARY KEY (KTLVKT,KTLKTR);
ALTER TABLE %SCHEMA%.G1105KRTLST ADD CONSTRAINT  G1105KRTLST_PK PRIMARY KEY (KRLVKR,KRLKRT);
ALTER TABLE %SCHEMA%.G1202MENUELST ADD CONSTRAINT  G1202MENUELST_PK PRIMARY KEY (MELMEN,MELPOS);
ALTER TABLE %SCHEMA%.G1301FRMRTE ADD CONSTRAINT  G1301FRMRTE_PK PRIMARY KEY (FRMRTENUM,FRMRTEFRM);
ALTER TABLE %SCHEMA%.G1301RTRRTE ADD CONSTRAINT  G1301RTRRTE_PK PRIMARY KEY (RTRRTENUM,RTRRTERTR,RTRRTEMOD,RTRRTELFD);
ALTER TABLE %SCHEMA%.G1302FRMRTELST ADD CONSTRAINT  G1302FRMRTELST_PK PRIMARY KEY (FRMRTENAM,FRMRTEFMR,FRMRTEFLD);
ALTER TABLE %SCHEMA%.G1303FRMRTESCHALT ADD CONSTRAINT  G1303FRMRTESCHALT_PK PRIMARY KEY (FRTSFLRTE,FRTSFLFRM,FRTSFLNUM);
ALTER TABLE %SCHEMA%.G1401MENRTELST ADD CONSTRAINT  G1401MENRTELST_PK PRIMARY KEY (MRLMRT,MRLMEN);
ALTER TABLE %SCHEMA%.G1402MENFORM ADD CONSTRAINT  G1402MENFORM_PK PRIMARY KEY (MFRMRT,MFRFRM);
ALTER TABLE %SCHEMA%.G1403MENDATEN ADD CONSTRAINT  G1403MENDATEN_PK PRIMARY KEY (MDLMRT,MDLFLD);
ALTER TABLE %SCHEMA%.G1501FCDLISTE ADD CONSTRAINT  G1501FCDLISTE_PK PRIMARY KEY (FRLFRT,FRLFCD,FRLMOD);
ALTER TABLE %SCHEMA%.G1601PNRRTEPNR ADD CONSTRAINT  G1601PNRRTEPNR_PK PRIMARY KEY (RPNPRE,RPNPNR,RPNMOD,RPNFRM);
ALTER TABLE %SCHEMA%.G1602PNRRTEAKR ADD CONSTRAINT  G1602PNRRTEAKR_PK PRIMARY KEY (RAKPRE,RAKAKR,RAKMOD,RAKFRM);
ALTER TABLE %SCHEMA%.G1603PNRRTEABT ADD CONSTRAINT  G1603PNRRTEABT_PK PRIMARY KEY (RABPRE,RABABT,RABMOD,RABFRM);
ALTER TABLE %SCHEMA%.G1604PNRRTEKST ADD CONSTRAINT  G1604PNRRTEKST_PK PRIMARY KEY (RKSPRE,RKSKST,RKSMOD,RKSFRM);
ALTER TABLE %SCHEMA%.G1605PNRRTEDEA ADD CONSTRAINT  G1605PNRRTEDEA_PK PRIMARY KEY (RDAMOD,RDAPRE,RDAPNR,RDAFRM);
ALTER TABLE %SCHEMA%.G1605PNRRTEMAP ADD CONSTRAINT  G1605PNRRTEMAP_PK PRIMARY KEY (MAPMOD,MAPPRE,MAPPNR,MAPFRM);
ALTER TABLE %SCHEMA%.G1606PNRRTEKRT ADD CONSTRAINT  G1606PNRRTEKRT_PK PRIMARY KEY (RKRMOD,RKRPRE,RKRKRT,RKRFRM);
ALTER TABLE %SCHEMA%.G1607PNRRTEKTR ADD CONSTRAINT  G1607PNRRTEKTR_PK PRIMARY KEY (RKTMOD,RKTPRE,RKTKTR,RKTFRM);
ALTER TABLE %SCHEMA%.G1608PNRRTEPLG ADD CONSTRAINT  G1608PNRRTEPLG_PK PRIMARY KEY (RPLPRE,RPLMOD,RPLPLG);
ALTER TABLE %SCHEMA%.G1609PNRRTEMOD ADD CONSTRAINT  G1609PNRRTEMOD_PK PRIMARY KEY (MODFMR,MODNAM,MODLFD,MODVAL,MODLIZ,MODMND);
ALTER TABLE %SCHEMA%.G1701ZKTLST ADD CONSTRAINT  G1701ZKTLST_PK PRIMARY KEY (ZKLNUM,ZKLZKT);
ALTER TABLE %SCHEMA%.G1802SCHALTLST ADD CONSTRAINT  G1802SCHALTLST_PK PRIMARY KEY (SFGSRT,SFGGRP,SFGNUM);
ALTER TABLE %SCHEMA%.G1901REPTOOLLST ADD CONSTRAINT  G1901REPTOOLLST_PK PRIMARY KEY (RTLNAM,RTLFLD);
ALTER TABLE %SCHEMA%.G2006DATDNLLST ADD CONSTRAINT  G2006DATDNLLST_PK PRIMARY KEY (DDLNAM,DDLTYP);
ALTER TABLE %SCHEMA%.G2006TRMDNLLST ADD CONSTRAINT  G2006TRMDNLLST_PK PRIMARY KEY (TDLNAM,TDLTYP,TDLTRM);
ALTER TABLE %SCHEMA%.G2006TXTDNLLST ADD CONSTRAINT  G2006TXTDNLLST_PK PRIMARY KEY (TXTNAM,TXTTYP,TXTLFD);
ALTER TABLE %SCHEMA%.G2201PRSGRPLST ADD CONSTRAINT  G2201PRSGRPLST_PK PRIMARY KEY (PGLNAM,PGLUSR,PGLPNR);

ALTER TABLE %SCHEMA%.O1000PSG ADD CONSTRAINT  O1000PSG_PK PRIMARY KEY (PSGGRP,PSGBEZ,PSGZTR);
ALTER TABLE %SCHEMA%.O1001ABRKREIS ADD CONSTRAINT  O1001ABRKREIS_PK PRIMARY KEY (AKRNUM);
ALTER TABLE %SCHEMA%.O1002ABTEILUNG ADD CONSTRAINT  O1002ABTEILUNG_PK PRIMARY KEY (ABTNUM);
ALTER TABLE %SCHEMA%.O1003KSTSTELLE ADD CONSTRAINT  O1003KSTSTELLE_PK PRIMARY KEY (KSTNUM);
ALTER TABLE %SCHEMA%.O1004KSTTRAEGER ADD CONSTRAINT  O1004KSTTRAEGER_PK PRIMARY KEY (KTRNUM);
ALTER TABLE %SCHEMA%.O1005KSTART ADD CONSTRAINT  O1005KSTART_PK PRIMARY KEY (KRTNUM);
ALTER TABLE %SCHEMA%.O1006LEISTUNG ADD CONSTRAINT  O1006LEISTUNG_PK PRIMARY KEY (LSTNUM);
ALTER TABLE %SCHEMA%.O1102ABTGRUPPEN ADD CONSTRAINT  O1102ABTGRUPPEN_PK PRIMARY KEY (VABABT);
ALTER TABLE %SCHEMA%.O1103KSTGRUPPEN ADD CONSTRAINT  O1103KSTGRUPPEN_PK PRIMARY KEY (VKSKST);
ALTER TABLE %SCHEMA%.O1104KTRGRUPPEN ADD CONSTRAINT  O1104KTRGRUPPEN_PK PRIMARY KEY (VKTKTR);
ALTER TABLE %SCHEMA%.O1105KRTGRUPPEN ADD CONSTRAINT  O1105KRTGRUPPEN_PK PRIMARY KEY (VKAKRT);
ALTER TABLE %SCHEMA%.O1202MENUE ADD CONSTRAINT  O1202MENUE_PK PRIMARY KEY (MENNUM);
ALTER TABLE %SCHEMA%.O1301FRMRECHT ADD CONSTRAINT  O1301FRMRECHT_PK PRIMARY KEY (FRENUM);
ALTER TABLE %SCHEMA%.O1401MENRECHT ADD CONSTRAINT  O1401MENRECHT_PK PRIMARY KEY (MRTNUM);
ALTER TABLE %SCHEMA%.O1501FCDRECHT ADD CONSTRAINT  O1501FCDRECHT_PK PRIMARY KEY (FRTNUM);
ALTER TABLE %SCHEMA%.O1601PNRRECHT ADD CONSTRAINT  O1601PNRRECHT_PK PRIMARY KEY (PRENUM,PREMOD,PREFRM);
ALTER TABLE %SCHEMA%.O1602PREKOPF ADD CONSTRAINT  O1602PREKOPF_PK PRIMARY KEY (PRKNUM);
ALTER TABLE %SCHEMA%.O1701ZKTGRP ADD CONSTRAINT  O1701ZKTGRP_PK PRIMARY KEY (ZKGNUM);
ALTER TABLE %SCHEMA%.O1802SCHALTRTE ADD CONSTRAINT  O1802SCHALTRTE_PK PRIMARY KEY (SRTNUM);

ALTER TABLE %SCHEMA%.O2006TRMDATEI ADD CONSTRAINT  O2006TRMDATEI_PK PRIMARY KEY (TRDNAM,TRDTYP);

ALTER TABLE %SCHEMA%.O2201PRSGRP ADD CONSTRAINT  O2201PRSGRP_PK PRIMARY KEY (PGRNAM,PGRUSR);
ALTER TABLE %SCHEMA%.O3000AND ADD CONSTRAINT  O3000AND_PK PRIMARY KEY (ANDNUM,ANDFRM,ANDLFD);
ALTER TABLE %SCHEMA%.O3000ANL ADD CONSTRAINT  O3000ANL_PK PRIMARY KEY (ANLNUM,ANLFRM);
ALTER TABLE %SCHEMA%.O3000PRF ADD CONSTRAINT  O3000PRF_PK PRIMARY KEY (PRFNUM,PRFFRM,PRFLFD);
ALTER TABLE %SCHEMA%.O3000PRT ADD CONSTRAINT  O3000PRT_PK PRIMARY KEY (PRTNUM,PRTFRM);
ALTER TABLE %SCHEMA%.O3000TKD ADD CONSTRAINT  O3000TKD_PK PRIMARY KEY (TKDNUM,TKDFRM,TKDLFD);
ALTER TABLE %SCHEMA%.O3000TKK ADD CONSTRAINT  O3000TKK_PK PRIMARY KEY (TKKNUM,TKKFRM);
ALTER TABLE %SCHEMA%.O3001BCH ADD CONSTRAINT  O3001BCH_PK PRIMARY KEY (BCHPRF,BCHFCD);
ALTER TABLE %SCHEMA%.O3001ZIN ADD CONSTRAINT  O3001ZIN_PK PRIMARY KEY (ZINPRF,ZINFRM,ZINFLD);
ALTER TABLE %SCHEMA%.O3001ZSD ADD CONSTRAINT  O3001ZSD_PK PRIMARY KEY (ZSDPRF,ZSDFRM,ZSDFLD);
ALTER TABLE %SCHEMA%.O3001ZST ADD CONSTRAINT  O3001ZST_PK PRIMARY KEY (ZSTPRF,ZSTFRM,ZSTSFL,ZSTWFL);
ALTER TABLE %SCHEMA%.O3001ZZK ADD CONSTRAINT  O3001ZZK_PK PRIMARY KEY (ZZKPRF,ZZKFRM,ZZKZKT);
ALTER TABLE %SCHEMA%.PERSONALSTAMM ADD CONSTRAINT  PERSONALSTAMM_PK PRIMARY KEY (PSTPNRNUM);
ALTER TABLE %SCHEMA%.TMS001SDF ADD CONSTRAINT  TMS001SDF_PK PRIMARY KEY (SDFPGM,SDFPNR,SDFTAG,SDFNUM,SDFWHL);
ALTER TABLE %SCHEMA%.TMS010HIS ADD CONSTRAINT  TMS010HIS_PK PRIMARY KEY (HISTNR,HISLFD);
ALTER TABLE %SCHEMA%.TMS010TAZ ADD CONSTRAINT  TMS010TAZ_PK PRIMARY KEY (TAZDEF,TAZMSK);
ALTER TABLE %SCHEMA%.TMS100BEM ADD CONSTRAINT  TMS100BEM_PK PRIMARY KEY (BEMNUM);

ALTER TABLE %SCHEMA%.TMS103DMYPNR ADD CONSTRAINT  TMS103DMYPNR_PK PRIMARY KEY (DMYPNR,DMYFRM,DMYFLD);
ALTER TABLE %SCHEMA%.TMS103FRMFIL ADD CONSTRAINT  TMS103FRMFIL_PK PRIMARY KEY (FILPNR,FILFRM,FILLFD);
ALTER TABLE %SCHEMA%.TMS103FRMKTP ADD CONSTRAINT  TMS103FRMKTP_PK PRIMARY KEY (KTPPNR,KTPFRM,KTPLFD,KTPZTR,KTPPER,KTPDTM);
ALTER TABLE %SCHEMA%.TMS103FRMKTV ADD CONSTRAINT  TMS103FRMKTV_PK PRIMARY KEY (KTVPNR,KTVFRM,KTVLFD,KTVZTR);
ALTER TABLE %SCHEMA%.TMS103FRMPNR ADD CONSTRAINT  TMS103FRMPNR_PK PRIMARY KEY (PFRPNR,PFRFRM,PFRFLD);
ALTER TABLE %SCHEMA%.TMS108PWA ADD CONSTRAINT  TMS108PWA_PK PRIMARY KEY (PWANUM);
ALTER TABLE %SCHEMA%.TMS111PSW ADD CONSTRAINT  TMS111PSW_PK PRIMARY KEY (PSWPNR,PSWANZ);
ALTER TABLE %SCHEMA%.TMS115DAN ADD CONSTRAINT  TMS115DAN_PK PRIMARY KEY (DANBEN,DANFRM,DANLFD,DANVAL);
ALTER TABLE %SCHEMA%.TMS120IMP ADD CONSTRAINT  TMS120IMP_PK PRIMARY KEY (IMPNAM);
ALTER TABLE %SCHEMA%.TMS120IMPFIL ADD CONSTRAINT  TMS120IMPFIL_PK PRIMARY KEY (IMPFILNAM,IMPFILLFD);
ALTER TABLE %SCHEMA%.TMS120IMPFLD ADD CONSTRAINT  TMS120IMPFLD_PK PRIMARY KEY (IMPFLDNAM,IMPFLDQFD);
ALTER TABLE %SCHEMA%.TMS122DIC ADD CONSTRAINT  TMS122DIC_PK PRIMARY KEY (DICKEY,DICFNA);
ALTER TABLE %SCHEMA%.TMS122DI2 ADD CONSTRAINT  TMS122DI2_PK PRIMARY KEY (DI2KEY,DI2FNA,DI2SPR);
ALTER TABLE %SCHEMA%.TMS130EZK ADD CONSTRAINT  TMS130EZK_PK PRIMARY KEY (EZKAKR,EZKZKT,EZKEZK);
ALTER TABLE %SCHEMA%.TMS130ZKT ADD CONSTRAINT  TMS130ZKT_PK PRIMARY KEY (ZKTNUM);
ALTER TABLE %SCHEMA%.TMS131FCD ADD CONSTRAINT  TMS131FCD_PK PRIMARY KEY (FCDNUM);
ALTER TABLE %SCHEMA%.TMS132ERS ADD CONSTRAINT  TMS132ERS_PK PRIMARY KEY (TTPNUMERS,TTPERS);
ALTER TABLE %SCHEMA%.TMS132TT2 ADD CONSTRAINT  TMS132TT2_PK PRIMARY KEY (TT2NUM);
ALTER TABLE %SCHEMA%.TMS133KA2 ADD CONSTRAINT  TMS133KA2_PK PRIMARY KEY (KA2NUM,KA2DTM);
ALTER TABLE %SCHEMA%.TMS134FTG ADD CONSTRAINT  TMS134FTG_PK PRIMARY KEY (FTGKAL,FTGNUM);
ALTER TABLE %SCHEMA%.TMS134FT2 ADD CONSTRAINT  TMS134FT2_PK PRIMARY KEY (FT2KAL,FT2TAG);
ALTER TABLE %SCHEMA%.TMS134WFT ADD CONSTRAINT  TMS134WFT_PK PRIMARY KEY (WFTFTG);
ALTER TABLE %SCHEMA%.TMS134WTG ADD CONSTRAINT  TMS134WTG_PK PRIMARY KEY (WTGDTM);
ALTER TABLE %SCHEMA%.TMS135MU2 ADD CONSTRAINT  TMS135MU2_PK PRIMARY KEY (MU2KAL);
ALTER TABLE %SCHEMA%.TMS136ATG ADD CONSTRAINT  TMS136ATG_PK PRIMARY KEY (ATGNUM,ATGDTM);
ALTER TABLE %SCHEMA%.TMS137WCH ADD CONSTRAINT  TMS137WCH_PK PRIMARY KEY (WCHKAL,WCHTAG);
ALTER TABLE %SCHEMA%.TMS140AZT ADD CONSTRAINT  TMS140AZT_PK PRIMARY KEY (AZTNUM);
ALTER TABLE %SCHEMA%.TMS140AZV ADD CONSTRAINT  TMS140AZV_PK PRIMARY KEY (AZVNUM,AZVGVO);
ALTER TABLE %SCHEMA%.TMS141AZP ADD CONSTRAINT  TMS141AZP_PK PRIMARY KEY (AZPNUM);
ALTER TABLE %SCHEMA%.TMS142PSM ADD CONSTRAINT  TMS142PSM_PK PRIMARY KEY (PSMNUM);
ALTER TABLE %SCHEMA%.TMS143PSE ADD CONSTRAINT  TMS143PSE_PK PRIMARY KEY (PSENUM,PSELFD);
ALTER TABLE %SCHEMA%.TMS150BSD ADD CONSTRAINT  TMS150BSD_PK PRIMARY KEY (BSDNUM);
ALTER TABLE %SCHEMA%.TMS150BS1 ADD CONSTRAINT  TMS150BS1_PK PRIMARY KEY (BS1NUM,BS1TTP,BS1STD,BS1ZTR);
ALTER TABLE %SCHEMA%.TMS150BS2 ADD CONSTRAINT  TMS150BS2_PK PRIMARY KEY (BS2NUM,BS2STD);
ALTER TABLE %SCHEMA%.TMS151VRA ADD CONSTRAINT  TMS151VRA_PK PRIMARY KEY (VRANUM);
ALTER TABLE %SCHEMA%.TMS151VR1 ADD CONSTRAINT  TMS151VR1_PK PRIMARY KEY (VR1NUM,VR1TTP);
ALTER TABLE %SCHEMA%.TMS152ZSB ADD CONSTRAINT  TMS152ZSB_PK PRIMARY KEY (ZSBNUM);
ALTER TABLE %SCHEMA%.TMS152ZS1 ADD CONSTRAINT  TMS152ZS1_PK PRIMARY KEY (ZS1NUM,ZS1LST,ZS1FCD,ZS1ZPZ,ZS1VON);
ALTER TABLE %SCHEMA%.TMS153SAL ADD CONSTRAINT  TMS153SAL_PK PRIMARY KEY (SALNUM);
ALTER TABLE %SCHEMA%.TMS153SA1 ADD CONSTRAINT  TMS153SA1_PK PRIMARY KEY (SA1NUM,SA1ZKT,SA1ZTR,SA1LFN);
ALTER TABLE %SCHEMA%.TMS154LFZ ADD CONSTRAINT  TMS154LFZ_PK PRIMARY KEY (LFZNUM);
ALTER TABLE %SCHEMA%.TMS154LF1 ADD CONSTRAINT  TMS154LF1_PK PRIMARY KEY (LF1NUM,LF1ZRV);
ALTER TABLE %SCHEMA%.TMS155FTR ADD CONSTRAINT  TMS155FTR_PK PRIMARY KEY (FTRNUM);
ALTER TABLE %SCHEMA%.TMS155SFR ADD CONSTRAINT  TMS155SFR_PK PRIMARY KEY (SFRMOD);
ALTER TABLE %SCHEMA%.TMS155SF1 ADD CONSTRAINT  TMS155SF1_PK PRIMARY KEY (SF1NUM,SF1AZT);
ALTER TABLE %SCHEMA%.TMS155SUR ADD CONSTRAINT  TMS155SUR_PK PRIMARY KEY (SURNAM);
ALTER TABLE %SCHEMA%.TMS155SU1 ADD CONSTRAINT  TMS155SU1_PK PRIMARY KEY (SU1NAM,SU1AGR);
ALTER TABLE %SCHEMA%.TMS155SU2 ADD CONSTRAINT  TMS155SU2_PK PRIMARY KEY (SU2NAM,SU2ZKT,SU2STD);
ALTER TABLE %SCHEMA%.TMS155SU3 ADD CONSTRAINT  TMS155SU3_PK PRIMARY KEY (SU3NAM,SU3AGR,SU3STD,SU3ZKT);
ALTER TABLE %SCHEMA%.TMS155URL ADD CONSTRAINT  TMS155URL_PK PRIMARY KEY (URLNUM);
ALTER TABLE %SCHEMA%.TMS156JAZ ADD CONSTRAINT  TMS156JAZ_PK PRIMARY KEY (JAZMOD,JAZBEG);
ALTER TABLE %SCHEMA%.TMS156WAZ ADD CONSTRAINT  TMS156WAZ_PK PRIMARY KEY (WAZMOD,WAZBEG);
ALTER TABLE %SCHEMA%.TMS157BMD ADD CONSTRAINT  TMS157BMD_PK PRIMARY KEY (BMDNUM);
ALTER TABLE %SCHEMA%.TMS157BM1 ADD CONSTRAINT  TMS157BM1_PK PRIMARY KEY (BM1NUM,BM1LFD,BM1GVO);
ALTER TABLE %SCHEMA%.TMS160AGR ADD CONSTRAINT  TMS160AGR_PK PRIMARY KEY (AGRNUM);
ALTER TABLE %SCHEMA%.TMS160AG1 ADD CONSTRAINT  TMS160AG1_PK PRIMARY KEY (AG1NUM,AG1GVO);
ALTER TABLE %SCHEMA%.TMS161WPL ADD CONSTRAINT  TMS161WPL_PK PRIMARY KEY (WPLAGR,WPLTAG,WPLGVO);
ALTER TABLE %SCHEMA%.TMS162ERS ADD CONSTRAINT  TMS162ERS_PK PRIMARY KEY (ERSAGR,ERSAZT,ERSAZE);
ALTER TABLE %SCHEMA%.TMS170LGP ADD CONSTRAINT  TMS170LGP_PK PRIMARY KEY (LGPNUM);
ALTER TABLE %SCHEMA%.TMS170LG1 ADD CONSTRAINT  TMS170LG1_PK PRIMARY KEY (LG1NUM,LG1STZ);
ALTER TABLE %SCHEMA%.TMS171LUG ADD CONSTRAINT  TMS171LUG_PK PRIMARY KEY (LUGLUG);
ALTER TABLE %SCHEMA%.TMS171LU1 ADD CONSTRAINT  TMS171LU1_PK PRIMARY KEY (LU1NUM,LU1STZ,LU1ZTK,LU1LNA,LU1GVO);
ALTER TABLE %SCHEMA%.TMS172LGU ADD CONSTRAINT  TMS172LGU_PK PRIMARY KEY (LGULGP,LGUZPK,LGUFIR);
ALTER TABLE %SCHEMA%.TMS173IMP ADD CONSTRAINT  TMS173IMP_PK PRIMARY KEY (IMPUSR,IMPPNR);
ALTER TABLE %SCHEMA%.TMS180FSS ADD CONSTRAINT  TMS180FSS_PK PRIMARY KEY (FSSNUM);
ALTER TABLE %SCHEMA%.TMS181FS1 ADD CONSTRAINT  TMS181FS1_PK PRIMARY KEY (FS1NUM,FS1GRS);
ALTER TABLE %SCHEMA%.TMS200PRM ADD CONSTRAINT  TMS200PRM_PK PRIMARY KEY (PRMK01,PRMK02,PRMC01,PRMC02);

ALTER TABLE %SCHEMA%.TMS202MTL ADD CONSTRAINT  TMS202MTL_PK PRIMARY KEY (MTLNAM);
ALTER TABLE %SCHEMA%.TMS202MTP ADD CONSTRAINT  TMS202MTP_PK PRIMARY KEY (MTPNAM,MTPPNR);
ALTER TABLE %SCHEMA%.TMS202MWS ADD CONSTRAINT  TMS202MWS_PK PRIMARY KEY (MWSNAM,MWSPNR,MWSVRD);
ALTER TABLE %SCHEMA%.TMS300MSG ADD CONSTRAINT  TMS300MSG_PK PRIMARY KEY (MSGART,MSGSTS,MSGSBE,MSGDTM,MSGPNR);
ALTER TABLE %SCHEMA%.TMS300PKT ADD CONSTRAINT  TMS300PKT_PK PRIMARY KEY (PKTPNR,PKTDTM);
ALTER TABLE %SCHEMA%.TMS300PNR ADD CONSTRAINT  TMS300PNR_PK PRIMARY KEY (PNRNUM);
ALTER TABLE %SCHEMA%.TMS300PRD ADD CONSTRAINT  TMS300PRD_PK PRIMARY KEY (PRDPNR);
ALTER TABLE %SCHEMA%.TMS303SBE ADD CONSTRAINT  TMS303SBE_PK PRIMARY KEY (SBEPNR,SBEANM);
ALTER TABLE %SCHEMA%.TMS305BVL ADD CONSTRAINT  TMS305BVL_PK PRIMARY KEY (BVLNAM,BVLASW,BVLGVD,BVLTRM,BVLLES);
ALTER TABLE %SCHEMA%.TMS305BVW ADD CONSTRAINT  TMS305BVW_PK PRIMARY KEY (BVWNAM,BVWASW,BVWGVD);
ALTER TABLE %SCHEMA%.TMS310BSV ADD CONSTRAINT  TMS310BSV_PK PRIMARY KEY (BSVPNR,BSVGVO);
ALTER TABLE %SCHEMA%.TMS311ZUO ADD CONSTRAINT  TMS311ZUO_PK PRIMARY KEY (ZUOPNR,ZUOGVO);
ALTER TABLE %SCHEMA%.TMS312KSV ADD CONSTRAINT  TMS312KSV_PK PRIMARY KEY (KSVPNR,KSVGVO,KSVKST);
ALTER TABLE %SCHEMA%.TMS320LBR ADD CONSTRAINT  TMS320LBR_PK PRIMARY KEY (LBRPNR);
ALTER TABLE %SCHEMA%.TMS320LB2 ADD CONSTRAINT  TMS320LB2_PK PRIMARY KEY (LB2PNR);
ALTER TABLE %SCHEMA%.TMS320LB3 ADD CONSTRAINT  TMS320LB3_PK PRIMARY KEY (LB3PNR);
ALTER TABLE %SCHEMA%.TMS320LB4 ADD CONSTRAINT  TMS320LB4_PK PRIMARY KEY (LBRSBE,LBRPNR);
ALTER TABLE %SCHEMA%.TMS320SAL ADD CONSTRAINT  TMS320SAL_PK PRIMARY KEY (SALPNR);
ALTER TABLE %SCHEMA%.TMS320SVT ADD CONSTRAINT  TMS320SVT_PK PRIMARY KEY (SVTPNR,SVTDTM);
ALTER TABLE %SCHEMA%.TMS320SV2 ADD CONSTRAINT  TMS320SV2_PK PRIMARY KEY (SV2PNR,SV2DTM);
ALTER TABLE %SCHEMA%.TMS320TGB ADD CONSTRAINT  TMS320TGB_PK PRIMARY KEY (TGBPNR,TGBZTR,TGBDTM);
ALTER TABLE %SCHEMA%.TMS321BCH ADD CONSTRAINT  TMS321BCH_PK PRIMARY KEY (BCHPNR,BCHVON,BCHUHR,BCHFKT);
ALTER TABLE %SCHEMA%.TMS321BEM ADD CONSTRAINT  TMS321BEM_PK PRIMARY KEY (BEMNUM,BEMFCD,BEMTXT);
ALTER TABLE %SCHEMA%.TMS321KAN ADD CONSTRAINT  TMS321KAN_PK PRIMARY KEY (KANDTM,KANUHR,KANAWN);
ALTER TABLE %SCHEMA%.TMS321KTK ADD CONSTRAINT  TMS321KTK_PK PRIMARY KEY (KTKPNR,KTKVON,KTKZTR,KTKZKT,KTKLFN);
ALTER TABLE %SCHEMA%.TMS321UZG ADD CONSTRAINT  TMS321UZG_PK PRIMARY KEY (UZGPNR,UZGVON,UZGZTR);
ALTER TABLE %SCHEMA%.TMS322GAZ ADD CONSTRAINT  TMS322GAZ_PK PRIMARY KEY (GAZPNR,GAZDTM);
ALTER TABLE %SCHEMA%.TMS323GPS ADD CONSTRAINT  TMS323GPS_PK PRIMARY KEY (GPSPNR,GPSDTM,GPSLFD);
ALTER TABLE %SCHEMA%.TMS324BRZ ADD CONSTRAINT  TMS324BRZ_PK PRIMARY KEY (BRZPNR,BRZDTM);
ALTER TABLE %SCHEMA%.TMS326VRK ADD CONSTRAINT  TMS326VRK_PK PRIMARY KEY (VRKPNR,VRKTAG);
ALTER TABLE %SCHEMA%.TMS327TAG ADD CONSTRAINT  TMS327TAG_PK PRIMARY KEY (TAGPNR,TAGTAG);
ALTER TABLE %SCHEMA%.TMS328BUP ADD CONSTRAINT  TMS328BUP_PK PRIMARY KEY (BUPPNR,BUPVON,BUPUHR,BUPFKT);
ALTER TABLE %SCHEMA%.TMS329ZTG ADD CONSTRAINT  TMS329ZTG_PK PRIMARY KEY (ZTGPNR,ZTGVON);
ALTER TABLE %SCHEMA%.TMS330ABR ADD CONSTRAINT  TMS330ABR_PK PRIMARY KEY (ABRNUM,ABRVON);
ALTER TABLE %SCHEMA%.TMS331ZKA ADD CONSTRAINT  TMS331ZKA_PK PRIMARY KEY (ZKAPNR,ZKADTM,ZKALFN);
ALTER TABLE %SCHEMA%.TMS331ZKB ADD CONSTRAINT  TMS331ZKB_PK PRIMARY KEY (ZKBPNR,ZKBZTR,ZKBDTM,ZKBKST,ZKBKTR,ZKBKRT,ZKBZKT);
ALTER TABLE %SCHEMA%.TMS331ZKN ADD CONSTRAINT  TMS331ZKN_PK PRIMARY KEY (ZKNPNR,ZKNDTM,ZKNLFN);
ALTER TABLE %SCHEMA%.TMS331ZKS ADD CONSTRAINT  TMS331ZKS_PK PRIMARY KEY (ZKSPNR,ZKSDTM,ZKSZKT);
ALTER TABLE %SCHEMA%.TMS331ZKW ADD CONSTRAINT  TMS331ZKW_PK PRIMARY KEY (ZKWPNR,ZKWDTM,ZKWZKT,ZKWVON);
ALTER TABLE %SCHEMA%.TMS331ZK1 ADD CONSTRAINT  TMS331ZK1_PK PRIMARY KEY (ZK1ABR,ZK1LFN,ZK1STZ,ZK1BDT,ZK1PNR,ZK1ZKT,ZK1LNA,ZK1LGR,ZK1KST,ZK1KTR,ZK1VON,ZK1BIS);
ALTER TABLE %SCHEMA%.TMS331ZK2 ADD CONSTRAINT  TMS331ZK2_PK PRIMARY KEY (ZK2ABR,ZK2PNR,ZK2BDT);
ALTER TABLE %SCHEMA%.TMS331ZK3 ADD CONSTRAINT  TMS331ZK3_PK PRIMARY KEY (ZK3KEY,ZK3ABR,ZK3LFN,ZK3STZ,ZK3BDT,ZK3PNR,ZK3ZKT,ZK3LNA,ZK3LGR,ZK3KST,ZK3KTR);
ALTER TABLE %SCHEMA%.TMS331ZK4 ADD CONSTRAINT  TMS331ZK4_PK PRIMARY KEY (ZK4KEY,ZK4ABR,ZK4LFN,ZK4STZ,ZK4BDT,ZK4PNR,ZK4ZKT,ZK4LNA,ZK4LGR,ZK4KST,ZK4KTR);
ALTER TABLE %SCHEMA%.TMS331ZK5 ADD CONSTRAINT  TMS331ZK5_PK PRIMARY KEY (ZK5ABR,ZK5STZ,ZK5PNR,ZK5ZKT,ZK5LNA,ZK5LGR,ZK5KST,ZK5KTR,ZK5VON,ZK5RRE);
ALTER TABLE %SCHEMA%.TMS331ZK9 ADD CONSTRAINT  TMS331ZK9_PK PRIMARY KEY (ZKBPNR,ZKBZTR,ZKBDTM,ZKBKST,ZKBKTR,ZKBKRT,ZKBLFD);
ALTER TABLE %SCHEMA%.TMS332FTG ADD CONSTRAINT  TMS332FTG_PK PRIMARY KEY (FTGPNR,FTGDTM);
ALTER TABLE %SCHEMA%.TMS332FTV ADD CONSTRAINT  TMS332FTV_PK PRIMARY KEY (FTVPNR,FTVJHR);
ALTER TABLE %SCHEMA%.TMS332JAV ADD CONSTRAINT  TMS332JAV_PK PRIMARY KEY (JAVPNR,JAVBEG);
ALTER TABLE %SCHEMA%.TMS332SFV ADD CONSTRAINT  TMS332SFV_PK PRIMARY KEY (SFVPNR,SFVJHR);
ALTER TABLE %SCHEMA%.TMS332SFZ ADD CONSTRAINT  TMS332SFZ_PK PRIMARY KEY (SFZPNR,SFZDTM);
ALTER TABLE %SCHEMA%.TMS332SUL ADD CONSTRAINT  TMS332SUL_PK PRIMARY KEY (SULPNR,SULDTM);
ALTER TABLE %SCHEMA%.TMS332SUV ADD CONSTRAINT  TMS332SUV_PK PRIMARY KEY (SUVPNR,SUVJHR);
ALTER TABLE %SCHEMA%.TMS332URV ADD CONSTRAINT  TMS332URV_PK PRIMARY KEY (URVPNR,URVJHR);
ALTER TABLE %SCHEMA%.TMS332UTG ADD CONSTRAINT  TMS332UTG_PK PRIMARY KEY (UTGPNR,UTGDTM);
ALTER TABLE %SCHEMA%.TMS333ASK ADD CONSTRAINT  TMS333ASK_PK PRIMARY KEY (ASKFIR,ASKPNR,ASKJHR,ASKMON,ASKENR,ASKART,ASKLKZ);
ALTER TABLE %SCHEMA%.TMS333ASR ADD CONSTRAINT  TMS333ASR_PK PRIMARY KEY (ASRFIR,ASRPNR,ASRJHR,ASRMON,ASRLNA,ASRKST,ASRVFM,ASRVFJ,ASRLKZ);
ALTER TABLE %SCHEMA%.TMS333BMN ADD CONSTRAINT  TMS333BMN_PK PRIMARY KEY (BMNSTZ,BMNPNR,BMNABM,BMNLNA);
ALTER TABLE %SCHEMA%.TMS333BZR ADD CONSTRAINT  TMS333BZR_PK PRIMARY KEY (BZRFIR,BZRPNR,BZRBDT);
ALTER TABLE %SCHEMA%.TMS333B01 ADD CONSTRAINT  TMS333B01_PK PRIMARY KEY (B01FIR,B01PNR,B01FLN);
ALTER TABLE %SCHEMA%.TMS333B05 ADD CONSTRAINT  TMS333B05_PK PRIMARY KEY (B05FIR,B05PNR,B05BLN);
ALTER TABLE %SCHEMA%.TMS333B06 ADD CONSTRAINT  TMS333B06_PK PRIMARY KEY (B06FIR,B06PNR,B06BLN);
ALTER TABLE %SCHEMA%.TMS333EMS ADD CONSTRAINT  TMS333EMS_PK PRIMARY KEY (EMSPNR,EMSLNA);

ALTER TABLE %SCHEMA%.TMS333GOD ADD CONSTRAINT  TMS333GOD_PK PRIMARY KEY (GODART,GODPNR,GODLNA,GODDVO,GODDBI,GODFVO);

ALTER TABLE %SCHEMA%.TMS333LD1 ADD CONSTRAINT  TMS333LD1_PK PRIMARY KEY (LD1ART,LD1PNR,LD1AZR,LD1KEY,LD1LNA,LD1KST,LD1RRE);


ALTER TABLE %SCHEMA%.TMS333NVL ADD CONSTRAINT  TMS333NVL_PK PRIMARY KEY (NVLSTZ,NVLPNR,NVLDAT,NVLLNA);
ALTER TABLE %SCHEMA%.TMS333NVS ADD CONSTRAINT  TMS333NVS_PK PRIMARY KEY (NVSSTZ,NVSPNR,NVSDAT,NVSVON);

ALTER TABLE %SCHEMA%.TMS333PE1 ADD CONSTRAINT  TMS333PE1_PK PRIMARY KEY (PE1MON,PE1PNR);

ALTER TABLE %SCHEMA%.TMS333PE3 ADD CONSTRAINT  TMS333PE3_PK PRIMARY KEY (PE3MON,PE3JHR,PE3PNR,PE3LOA,PE3AWS);

ALTER TABLE %SCHEMA%.TMS333PM1 ADD CONSTRAINT  TMS333PM1_PK PRIMARY KEY (PM1PNR,PM1LNA,PM1KST,PM1KTR);
ALTER TABLE %SCHEMA%.TMS333PRO ADD CONSTRAINT  TMS333PRO_PK PRIMARY KEY (PROFIR,PROPNR,PROTAG,PROMON,PROJHR,PROLNA,PROKST);
ALTER TABLE %SCHEMA%.TMS333PS1 ADD CONSTRAINT  TMS333PS1_PK PRIMARY KEY (PS1STZ,PS1FRM,PS1PRS,PS1ABD,PS1ABN,PS1LHN,PS1LHG,PS1KST);
ALTER TABLE %SCHEMA%.TMS333PS1B ADD CONSTRAINT  TMS333PS1B_PK PRIMARY KEY (PS1STZ,PS1FRM,PS1PRS,PS1ABT,PS1ABD,PS1ABN,PS1LHN,PS1LHG,PS1KST);
ALTER TABLE %SCHEMA%.TMS333PS3 ADD CONSTRAINT  TMS333PS3_PK PRIMARY KEY (PS3STZ,PS3FRM,PS3PRS,PS3BDT,PS3ABN,PS3LNA,PS3ZET);
ALTER TABLE %SCHEMA%.TMS333PS3B ADD CONSTRAINT  TMS333PS3B_PK PRIMARY KEY (PS3STZ,PS3FRM,PS3PRS,PS3BDT,PS3ABN,PS3LNA,PS3ZET);
ALTER TABLE %SCHEMA%.TMS333PS4 ADD CONSTRAINT  TMS333PS4_PK PRIMARY KEY (PS4STZ,PS4FRM,PS4PRS,PS4ABD,PS4ABN);
ALTER TABLE %SCHEMA%.TMS333PS4B ADD CONSTRAINT  TMS333PS4B_PK PRIMARY KEY (PS4STZ,PS4FRM,PS4PRS,PS4ABD,PS4ABN);
ALTER TABLE %SCHEMA%.TMS333SAG ADD CONSTRAINT  TMS333SAG_PK PRIMARY KEY (SAGMON,SAGPNR,SAGLNA,SAGKST,SAGKTR);
ALTER TABLE %SCHEMA%.TMS333SBS ADD CONSTRAINT  TMS333SBS_PK PRIMARY KEY (SBSJHR,SBSMON,SBSTAG,SBSPNR,SBSLNA,SBSKST,SBSKTR);
ALTER TABLE %SCHEMA%.TMS333SLI ADD CONSTRAINT  TMS333SLI_PK PRIMARY KEY (SLIPNR,SLILNA,SLIAMT);
ALTER TABLE %SCHEMA%.TMS333S01 ADD CONSTRAINT  TMS333S01_PK PRIMARY KEY (S01MND,S01PNR,S01LNA,S01VON);
ALTER TABLE %SCHEMA%.TMS333S10 ADD CONSTRAINT  TMS333S10_PK PRIMARY KEY (S10MND,S10PNR,S10LNA,S10VON);
ALTER TABLE %SCHEMA%.TMS333TP1 ADD CONSTRAINT  TMS333TP1_PK PRIMARY KEY (TP1FIR,TP1PNR,TP1JMM,TP1LNA);
ALTER TABLE %SCHEMA%.TMS333TP2 ADD CONSTRAINT  TMS333TP2_PK PRIMARY KEY (TP2FIR,TP2PNR,TP2VON,TP2BIS,TP2FGR,TP2FGD);












ALTER TABLE %SCHEMA%.TMS336B10 ADD CONSTRAINT  TMS336B10_PK PRIMARY KEY (B10DAT,B10PNR);
ALTER TABLE %SCHEMA%.TMS350ABP ADD CONSTRAINT  TMS350ABP_PK PRIMARY KEY (ABPPNR,ABPTYP,ABPVON,ABPLFD);
ALTER TABLE %SCHEMA%.TMS370ZNP ADD CONSTRAINT  TMS370ZNP_PK PRIMARY KEY (ZNPNUM);
ALTER TABLE %SCHEMA%.TMS371ZND ADD CONSTRAINT  TMS371ZND_PK PRIMARY KEY (ZNDZNP,ZNDNUM,ZNDZKT);
ALTER TABLE %SCHEMA%.TMS381BVS ADD CONSTRAINT  TMS381BVS_PK PRIMARY KEY (BVSSBE,BVSKE1,BVSKE2);
ALTER TABLE %SCHEMA%.TMS382BVF ADD CONSTRAINT  TMS382BVF_PK PRIMARY KEY (BVFPNR,BVFFC1,BVFVON,BVFBIS,BVFGEN,BVFKEY);
ALTER TABLE %SCHEMA%.TMS382BVK ADD CONSTRAINT  TMS382BVK_PK PRIMARY KEY (BVKSBE,BVKPNR,BVKFC1,BVKVON,BVKBIS,BVKGEN,BVKKEY);
ALTER TABLE %SCHEMA%.TMS382KOM ADD CONSTRAINT  TMS382KOM_PK PRIMARY KEY (KOMKEY,KOMZPK,KOMPNR);
ALTER TABLE %SCHEMA%.TMS382PRT ADD CONSTRAINT  TMS382PRT_PK PRIMARY KEY (PRTKEY,PRTZPK);

ALTER TABLE %SCHEMA%.TMS407ZWG ADD CONSTRAINT  TMS407ZWG_PK PRIMARY KEY (ZWGNUM);
ALTER TABLE %SCHEMA%.TMS407ZW1 ADD CONSTRAINT  TMS407ZW1_PK PRIMARY KEY (ZW1NUM,ZW1LFD);
ALTER TABLE %SCHEMA%.TMS407ZW2 ADD CONSTRAINT  TMS407ZW2_PK PRIMARY KEY (ZW2NUM,ZW2ASW,ZW2VON);

ALTER TABLE %SCHEMA%.TMS500AUK ADD CONSTRAINT  TMS500AUK_PK PRIMARY KEY (AUKAPK);
ALTER TABLE %SCHEMA%.TMS501APK ADD CONSTRAINT  TMS501APK_PK PRIMARY KEY (APKAPK);
ALTER TABLE %SCHEMA%.TMS503AFO ADD CONSTRAINT  TMS503AFO_PK PRIMARY KEY (AFOAPK,AFOAPP);
ALTER TABLE %SCHEMA%.TMS504APP ADD CONSTRAINT  TMS504APP_PK PRIMARY KEY (APPAPK,APPAPP);
ALTER TABLE %SCHEMA%.TMS510PRV ADD CONSTRAINT  TMS510PRV_PK PRIMARY KEY (PRVPNR);
ALTER TABLE %SCHEMA%.TMS520ASG ADD CONSTRAINT  TMS520ASG_PK PRIMARY KEY (ASGASG);
ALTER TABLE %SCHEMA%.TMS521UBG ADD CONSTRAINT  TMS521UBG_PK PRIMARY KEY (UBGUBG);
ALTER TABLE %SCHEMA%.TMS530APG ADD CONSTRAINT  TMS530APG_PK PRIMARY KEY (APGAPG);
ALTER TABLE %SCHEMA%.TMS531APL ADD CONSTRAINT  TMS531APL_PK PRIMARY KEY (APLAPL);
ALTER TABLE %SCHEMA%.TMS532AEM ADD CONSTRAINT  TMS532AEM_PK PRIMARY KEY (AEMKNG,AEMAPG,AEMEMO,AEMGVO);
ALTER TABLE %SCHEMA%.TMS533EMO ADD CONSTRAINT  TMS533EMO_PK PRIMARY KEY (EMOEMO,EMOTTP,EMOBEG);
ALTER TABLE %SCHEMA%.TMS534PMO ADD CONSTRAINT  TMS534PMO_PK PRIMARY KEY (PMOPMO);
ALTER TABLE %SCHEMA%.TMS535PMS ADD CONSTRAINT  TMS535PMS_PK PRIMARY KEY (PMSNUM);
ALTER TABLE %SCHEMA%.TMS536PMZ ADD CONSTRAINT  TMS536PMZ_PK PRIMARY KEY (PMZPMO,PMZPMS);
ALTER TABLE %SCHEMA%.TMS537KSG ADD CONSTRAINT  TMS537KSG_PK PRIMARY KEY (KSGAPG,KSGGVO);
ALTER TABLE %SCHEMA%.TMS538LMO ADD CONSTRAINT  TMS538LMO_PK PRIMARY KEY (LMOLMO);
ALTER TABLE %SCHEMA%.TMS540DNL ADD CONSTRAINT  TMS540DNL_PK PRIMARY KEY (DNLDTA,DNLLFN,DNLSKZ,DNLERF);
ALTER TABLE %SCHEMA%.TMS542DWN ADD CONSTRAINT  TMS542DWN_PK PRIMARY KEY (DWNDTA,DWNERF);
ALTER TABLE %SCHEMA%.TMS543UPD ADD CONSTRAINT  TMS543UPD_PK PRIMARY KEY (UPDKEY);
ALTER TABLE %SCHEMA%.TMS552BNR ADD CONSTRAINT  TMS552BNR_PK PRIMARY KEY (BNRKEY);
ALTER TABLE %SCHEMA%.TMS553FZU ADD CONSTRAINT  TMS553FZU_PK PRIMARY KEY (FZUMLD);

ALTER TABLE %SCHEMA%.TMS557CFG ADD CONSTRAINT  TMS557CFG_PK PRIMARY KEY (CFGDTA);
ALTER TABLE %SCHEMA%.TMS558MEE ADD CONSTRAINT  TMS558MEE_PK PRIMARY KEY (MEEMEE);
ALTER TABLE %SCHEMA%.TMS559FBE ADD CONSTRAINT  TMS559FBE_PK PRIMARY KEY (FBEFBE);
ALTER TABLE %SCHEMA%.TMS560MEL ADD CONSTRAINT  TMS560MEL_PK PRIMARY KEY (KEYBNR,KEYLFN);
ALTER TABLE %SCHEMA%.TMS561MLT ADD CONSTRAINT  TMS561MLT_PK PRIMARY KEY (MLTERF,MLTDAT,MLTLFN);
ALTER TABLE %SCHEMA%.TMS562MLD ADD CONSTRAINT  TMS562MLD_PK PRIMARY KEY (MLDPNR,MLDMLD,MLDLFN);
ALTER TABLE %SCHEMA%.TMS563MRK ADD CONSTRAINT  TMS563MRK_PK PRIMARY KEY (MRKKNG,MRKAPL,MRKAPK,MRKAPP,MRKPNR,MRKBNR);
ALTER TABLE %SCHEMA%.TMS565MAP ADD CONSTRAINT  TMS565MAP_PK PRIMARY KEY (MAPOBJ,MAPPNR,MAPAPL,MAPAPK,MAPAPP);
ALTER TABLE %SCHEMA%.TMS570RCV ADD CONSTRAINT  TMS570RCV_PK PRIMARY KEY (RCVMDT,RCVMZT,RCVLFN);
ALTER TABLE %SCHEMA%.TMS571RVS ADD CONSTRAINT  TMS571RVS_PK PRIMARY KEY (RVSMDT,RVSMZT,RVSLFN);

ALTER TABLE %SCHEMA%.TMS590NZA ADD CONSTRAINT  TMS590NZA_PK PRIMARY KEY (NZASA,NZAAPL,NZAAPK,NZAAPP,NZAPNR,NZADTM);
ALTER TABLE %SCHEMA%.TMS591NZP ADD CONSTRAINT  TMS591NZP_PK PRIMARY KEY (NZPAKZ,NZPGVN,NZPGBI);
ALTER TABLE %SCHEMA%.TMS600KAR ADD CONSTRAINT  TMS600KAR_PK PRIMARY KEY (KARKAR);
ALTER TABLE %SCHEMA%.TMS600KNT ADD CONSTRAINT  TMS600KNT_PK PRIMARY KEY (KNTNUM);
ALTER TABLE %SCHEMA%.TMS600KNW ADD CONSTRAINT  TMS600KNW_PK PRIMARY KEY (KNWKNW);
ALTER TABLE %SCHEMA%.TMS601KBZ ADD CONSTRAINT  TMS601KBZ_PK PRIMARY KEY (KBZNUM);
ALTER TABLE %SCHEMA%.TMS601KGR ADD CONSTRAINT  TMS601KGR_PK PRIMARY KEY (KGRNUM,KGRKNT);
ALTER TABLE %SCHEMA%.TMS604ARP ADD CONSTRAINT  TMS604ARP_PK PRIMARY KEY (ARPNUM);
ALTER TABLE %SCHEMA%.TMS604AUS ADD CONSTRAINT  TMS604AUS_PK PRIMARY KEY (AUSARP,AUSNUM);
ALTER TABLE %SCHEMA%.TMS604KAP ADD CONSTRAINT  TMS604KAP_PK PRIMARY KEY (KAPARP,KAPKGR);
ALTER TABLE %SCHEMA%.TMS606PRD ADD CONSTRAINT  TMS606PRD_PK PRIMARY KEY (PRDPNR);
ALTER TABLE %SCHEMA%.TMS607APM ADD CONSTRAINT  TMS607APM_PK PRIMARY KEY (APMPNR,APMARP,APMVON);
ALTER TABLE %SCHEMA%.TMS608KZM ADD CONSTRAINT  TMS608KZM_PK PRIMARY KEY (KZMPNR,KZMKGR);
ALTER TABLE %SCHEMA%.TMS610DKM ADD CONSTRAINT  TMS610DKM_PK PRIMARY KEY (DKMMTR,DKMNUM);
ALTER TABLE %SCHEMA%.TMS611ABW ADD CONSTRAINT  TMS611ABW_PK PRIMARY KEY (ABWNUM);
ALTER TABLE %SCHEMA%.TMS611MAB ADD CONSTRAINT  TMS611MAB_PK PRIMARY KEY (MABABW,MABPNR);
ALTER TABLE %SCHEMA%.TMS612MNA ADD CONSTRAINT  TMS612MNA_PK PRIMARY KEY (MNANAT,MNAPNR);
ALTER TABLE %SCHEMA%.TMS612NAT ADD CONSTRAINT  TMS612NAT_PK PRIMARY KEY (NATNUM);
ALTER TABLE %SCHEMA%.TMS613MZF ADD CONSTRAINT  TMS613MZF_PK PRIMARY KEY (MZFZFT,MZFPNR);
ALTER TABLE %SCHEMA%.TMS613ZFT ADD CONSTRAINT  TMS613ZFT_PK PRIMARY KEY (ZFTNUM);
ALTER TABLE %SCHEMA%.TMS650ARZ ADD CONSTRAINT  TMS650ARZ_PK PRIMARY KEY (ARZART);
ALTER TABLE %SCHEMA%.TMS650CFG ADD CONSTRAINT  TMS650CFG_PK PRIMARY KEY (CFGNUM);
ALTER TABLE %SCHEMA%.TMS650FAV ADD CONSTRAINT  TMS650FAV_PK PRIMARY KEY (FAVANM,FAVLND);
ALTER TABLE %SCHEMA%.TMS650KMG ADD CONSTRAINT  TMS650KMG_PK PRIMARY KEY (KMGNUM,KMGVON);
ALTER TABLE %SCHEMA%.TMS650MWS ADD CONSTRAINT  TMS650MWS_PK PRIMARY KEY (MWSNUM);
ALTER TABLE %SCHEMA%.TMS650RKA ADD CONSTRAINT  TMS650RKA_PK PRIMARY KEY (RKANUM,RKAPNR);
ALTER TABLE %SCHEMA%.TMS650RKB ADD CONSTRAINT  TMS650RKB_PK PRIMARY KEY (RKBNUM,RKBPNR,RKBVON,RKBLNM);
ALTER TABLE %SCHEMA%.TMS650RKD ADD CONSTRAINT  TMS650RKD_PK PRIMARY KEY (RKDPNR,RKDVON,RKDNUM,RKDLNM);
ALTER TABLE %SCHEMA%.TMS650RKE ADD CONSTRAINT  TMS650RKE_PK PRIMARY KEY (RKENUM,RKEPNR,RKEVON,RKELNM);
ALTER TABLE %SCHEMA%.TMS650RKV ADD CONSTRAINT  TMS650RKV_PK PRIMARY KEY (RKVNUM,RKVPNR,RKVVON,RKVLNM);
ALTER TABLE %SCHEMA%.TMS651LND ADD CONSTRAINT  TMS651LND_PK PRIMARY KEY (LNDNUM);
ALTER TABLE %SCHEMA%.TMS652TEL ADD CONSTRAINT  TMS652TEL_PK PRIMARY KEY (TELPNR,TELRKA);
ALTER TABLE %SCHEMA%.TMS653VPS ADD CONSTRAINT  TMS653VPS_PK PRIMARY KEY (VPSLND);
ALTER TABLE %SCHEMA%.TMS654FBK ADD CONSTRAINT  TMS654FBK_PK PRIMARY KEY (FBKNUM);
ALTER TABLE %SCHEMA%.TMS655FRK ADD CONSTRAINT  TMS655FRK_PK PRIMARY KEY (FRKFBK,FRKRKA,FRKKST);
ALTER TABLE %SCHEMA%.TMS656ZKR ADD CONSTRAINT  TMS656ZKR_PK PRIMARY KEY (ZKRZKT,ZKRRKA);
ALTER TABLE %SCHEMA%.TMS670PTP ADD CONSTRAINT  TMS670PTP_PK PRIMARY KEY (PTPNAM);
ALTER TABLE %SCHEMA%.TMS670PT1 ADD CONSTRAINT  TMS670PT1_PK PRIMARY KEY (PT1NAM,PT1SRC);
ALTER TABLE %SCHEMA%.TMS701PLG ADD CONSTRAINT  TMS701PLG_PK PRIMARY KEY (PLGPLG);
ALTER TABLE %SCHEMA%.TMS703ESA ADD CONSTRAINT  TMS703ESA_PK PRIMARY KEY (ESAESA);
ALTER TABLE %SCHEMA%.TMS705ESO ADD CONSTRAINT  TMS705ESO_PK PRIMARY KEY (ESOESO);
ALTER TABLE %SCHEMA%.TMS707QFK ADD CONSTRAINT  TMS707QFK_PK PRIMARY KEY (QFKQFK);
ALTER TABLE %SCHEMA%.TMS708KSS ADD CONSTRAINT  TMS708KSS_PK PRIMARY KEY (KSSNUM);
ALTER TABLE %SCHEMA%.TMS708PSS ADD CONSTRAINT  TMS708PSS_PK PRIMARY KEY (PSSKSS,PSSGVO);
ALTER TABLE %SCHEMA%.TMS709IDK ADD CONSTRAINT  TMS709IDK_PK PRIMARY KEY (IDKNUM);
ALTER TABLE %SCHEMA%.TMS710PBV ADD CONSTRAINT  TMS710PBV_PK PRIMARY KEY (PBVPNR,PBVGVO);
ALTER TABLE %SCHEMA%.TMS711PEO ADD CONSTRAINT  TMS711PEO_PK PRIMARY KEY (PEOPNR,PEOESO);
ALTER TABLE %SCHEMA%.TMS712PGZ ADD CONSTRAINT  TMS712PGZ_PK PRIMARY KEY (PGZPLG,PGZESO,PGZESA);
ALTER TABLE %SCHEMA%.TMS716QZP ADD CONSTRAINT  TMS716QZP_PK PRIMARY KEY (QZPPNR,QZPQFK,QZPVON);
ALTER TABLE %SCHEMA%.TMS717QEA ADD CONSTRAINT  TMS717QEA_PK PRIMARY KEY (QEAESA,QEAQFK);
ALTER TABLE %SCHEMA%.TMS719PGI ADD CONSTRAINT  TMS719PGI_PK PRIMARY KEY (PGIPLG,PGIPRG,PGINUM);
ALTER TABLE %SCHEMA%.TMS720BSS ADD CONSTRAINT  TMS720BSS_PK PRIMARY KEY (BSSPLG,BSSESO,BSSESA,BSSTTP,BSSVON,BSSASW);
ALTER TABLE %SCHEMA%.TMS723BSD ADD CONSTRAINT  TMS723BSD_PK PRIMARY KEY (BSDKEY,BSDLFD);
ALTER TABLE %SCHEMA%.TMS723BS1 ADD CONSTRAINT  TMS723BS1_PK PRIMARY KEY (BS1KEY,BS1LFD,BS1VON);
ALTER TABLE %SCHEMA%.TMS723BS2 ADD CONSTRAINT  TMS723BS2_PK PRIMARY KEY (BS2ART,BS2KEY,BS2LFD,BS2VON,BS2FEH);
ALTER TABLE %SCHEMA%.TMS724BSA ADD CONSTRAINT  TMS724BSA_PK PRIMARY KEY (BSAPLG,BSAESO,BSAESA,BSATTP,BSAVON,BSAASW,BSADTM);
ALTER TABLE %SCHEMA%.TMS725BSM ADD CONSTRAINT  TMS725BSM_PK PRIMARY KEY (BSMBDT,BSMESO,BSMESA,BSMSZV,BSMPLG,BSMASW);
ALTER TABLE %SCHEMA%.TMS730AFB ADD CONSTRAINT  TMS730AFB_PK PRIMARY KEY (AFBKEY);
ALTER TABLE %SCHEMA%.TMS730AFG ADD CONSTRAINT  TMS730AFG_PK PRIMARY KEY (AFGART,AFGPNR,AFGADT,AFGAZV,AFGKEY);
ALTER TABLE %SCHEMA%.TMS730BDP ADD CONSTRAINT  TMS730BDP_PK PRIMARY KEY (BDPPNR,BDPBDT,BDPESO,BDPESA,BDPSZV,BDPPLG,BDPASW,BDPAKT);
ALTER TABLE %SCHEMA%.TMS730BDT ADD CONSTRAINT  TMS730BDT_PK PRIMARY KEY (BDTPNR,BDTBDT,BDTESO,BDTESA,BDTSZV,BDTPLG,BDTASW,BDTAKT,BDTKEY);
ALTER TABLE %SCHEMA%.TMS735BDK ADD CONSTRAINT  TMS735BDK_PK PRIMARY KEY (BDKKEY,BDKLFD);
ALTER TABLE %SCHEMA%.TMS736BDS ADD CONSTRAINT  TMS736BDS_PK PRIMARY KEY (BDSBDT,BDSPLG,BDSESO,BDSESA,BDSTTP,BDSVON,BDSASW);
ALTER TABLE %SCHEMA%.TMS740PUD ADD CONSTRAINT  TMS740PUD_PK PRIMARY KEY (PUDDAT);
ALTER TABLE %SCHEMA%.TMS746ERR ADD CONSTRAINT  TMS746ERR_PK PRIMARY KEY (ERRPLG,ERRKNG,ERRDAT,ERRLFN,ERRJBD,ERRJBK);
ALTER TABLE %SCHEMA%.TMS747PGM ADD CONSTRAINT  TMS747PGM_PK PRIMARY KEY (PGMKNG);
ALTER TABLE %SCHEMA%.TMS750PTD ADD CONSTRAINT  TMS750PTD_PK PRIMARY KEY (PTDNAM);
ALTER TABLE %SCHEMA%.TMS750PTL ADD CONSTRAINT  TMS750PTL_PK PRIMARY KEY (PTLNAM);
ALTER TABLE %SCHEMA%.TMS751FRB ADD CONSTRAINT  TMS751FRB_PK PRIMARY KEY (FRBNUM);
ALTER TABLE %SCHEMA%.TMS755PKA ADD CONSTRAINT  TMS755PKA_PK PRIMARY KEY (PKAPLG,PKANUM,PKADTM);
ALTER TABLE %SCHEMA%.TMS770WBS ADD CONSTRAINT  TMS770WBS_PK PRIMARY KEY (WBSPNR,WBSKEY,WBSSTS,WBSVON);
ALTER TABLE %SCHEMA%.TMS800KAT ADD CONSTRAINT  TMS800KAT_PK PRIMARY KEY (KATNUM,KATWHL,KATSPR);
ALTER TABLE %SCHEMA%.TMS802PNRREP ADD CONSTRAINT  TMS802PNRREP_PK PRIMARY KEY (BPNREP,BPNBER,BPNNUM,BPNPNR);
ALTER TABLE %SCHEMA%.TMS802RTEREP ADD CONSTRAINT  TMS802RTEREP_PK PRIMARY KEY (RTENUM);
ALTER TABLE %SCHEMA%.TMS898TGB ADD CONSTRAINT  TMS898TGB_PK PRIMARY KEY (TGBDWH,TGBSBE,TGBPNR,TGBZTR,TGBDTM);
ALTER TABLE %SCHEMA%.TMS898ZKB ADD CONSTRAINT  TMS898ZKB_PK PRIMARY KEY (ZKBDWH,ZKBSBE,ZKBPNR,ZKBZTR,ZKBDTM,ZKBNUM);
ALTER TABLE %SCHEMA%.TMS899ASW ADD CONSTRAINT  TMS899ASW_PK PRIMARY KEY (ASWPNR,ASWNUM,ASWBKL,ASWGVO,ASWSTO);
ALTER TABLE %SCHEMA%.TMS899BCH ADD CONSTRAINT  TMS899BCH_PK PRIMARY KEY (BCHPNR,BCHVON,BCHUHR,BCHFKT);
ALTER TABLE %SCHEMA%.TMS899BUP ADD CONSTRAINT  TMS899BUP_PK PRIMARY KEY (BUPPNR,BUPTAGTAG,BUPTAGVON,BUPVON,BUPUHR,BUPFKT);
ALTER TABLE %SCHEMA%.TMS899EMA ADD CONSTRAINT  TMS899EMA_PK PRIMARY KEY (EMANAM,EMAEMA);
ALTER TABLE %SCHEMA%.TMS899PNR ADD CONSTRAINT  TMS899PNR_PK PRIMARY KEY (PNRNUM);
ALTER TABLE %SCHEMA%.TMS899TGB ADD CONSTRAINT  TMS899TGB_PK PRIMARY KEY (TGBPNR,TGBZTR,TGBDTM);
ALTER TABLE %SCHEMA%.TMS899ZKB ADD CONSTRAINT  TMS899ZKB_PK PRIMARY KEY (ZKBPNR,ZKBZTR,ZKBDTM,ZKBNUM);
