4085 lines
152 KiB
Transact-SQL
4085 lines
152 KiB
Transact-SQL
--/* Modell verzio: 543 */
|
|
|
|
|
|
--/*DictionaryItemType és Entitás attributuma közötti FK*/
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSIKTADATSZOLGALTATAS add constraint FK_4027424_4027425 foreign key (C_ELSODLEGESIKTESZKOZE, C_INTEZMENYID, C_TANEVID) references [dbo].T_ELSODLEGESIKTESZKOZ (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSIKTADATSZOLGALTATAS add constraint FK_4027424_4027426 foreign key (C_IKTESZKOZHASZNALATMODJA, C_INTEZMENYID, C_TANEVID) references [dbo].T_IKTESZKOZHASZNALATMOD (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSIKTADATSZOLGALTATAS add constraint FK_4027424_4027427 foreign key (C_IKTKOMPETENCIASZINTJE, C_INTEZMENYID, C_TANEVID) references [dbo].T_IKTKOMPETENCIASZINT (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027364 foreign key (C_ALLAMPOLGARSAGA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ALLAMPOLGARSAG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027365 foreign key (C_ALLAMPOLGARSAGA2, C_INTEZMENYID, C_TANEVID) references [dbo].T_ALLAMPOLGARSAG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027366 foreign key (C_ANYANYELVE, C_INTEZMENYID, C_TANEVID) references [dbo].T_ANYANYELV (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027373 foreign key (C_FELVETELSTATUSZA, C_INTEZMENYID, C_TANEVID) references [dbo].T_FELVETELSTATUSZATIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027376 foreign key (C_NEME, C_INTEZMENYID, C_TANEVID) references [dbo].T_NEM (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027384 foreign key (C_SZULETESIORSZAG, C_INTEZMENYID, C_TANEVID) references [dbo].T_ORSZAGTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027388 foreign key (C_TAGOZAT, C_INTEZMENYID, C_TANEVID) references [dbo].T_TAGOZATTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027394 foreign key (C_TKROKONSAGIFOKA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ROKONSAGIFOK (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027407 foreign key (C_KOZTERULETJELLEGE, C_INTEZMENYID, C_TANEVID) references [dbo].T_KOZTERULETJELLEG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027363_4027414 foreign key (C_TKKOZTERULETJELLEGE, C_INTEZMENYID, C_TANEVID) references [dbo].T_KOZTERULETJELLEG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCATETEL add constraint FK_4027181_4027187 foreign key (C_STATUSZA, C_INTEZMENYID, C_TANEVID) references [dbo].T_EPENZTARCATETELSTATUSZ (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCAPARAMETEREK add constraint FK_4027171_4027173 foreign key (C_IDOKERET, C_INTEZMENYID, C_TANEVID) references [dbo].T_IDOKERET (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCAPARAMETEREK add constraint FK_4027171_4027176 foreign key (C_OSSZEGTULLEPESTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_OSSZEGTULLEPESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGY add constraint FK_4026958_4026964 foreign key (C_FORRAS, C_INTEZMENYID, C_TANEVID) references [dbo].T_FORRAS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGY add constraint FK_4026958_4026969 foreign key (C_PRIORITAS, C_INTEZMENYID, C_TANEVID) references [dbo].T_PRIORITAS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGY add constraint FK_4026958_4026970 foreign key (C_STATUSZ, C_INTEZMENYID, C_TANEVID) references [dbo].T_HIBAJEGYSTATUSZ (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ADATSZOLGALTATASENAPLO add constraint FK_4026694_4026695 foreign key (C_ENAPLOFORRASA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ENAPLOFORRAS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ADATSZOLGALTATASENAPLO add constraint FK_4026694_4026696 foreign key (C_ENAPLOINFRAJA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ENAPLOINFRA (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ADATSZOLGALTATASENAPLO add constraint FK_4026694_4026697 foreign key (C_ENAPLOTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ENAPLOTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ADATSZOLGALTATASENAPLO add constraint FK_4026694_4026706 foreign key (C_SZERZODOSZEMELYPOZICIOJA, C_INTEZMENYID, C_TANEVID) references [dbo].T_SZERZODOSZEMELYPOZICIO (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ADATSZOLGALTATASENAPLO add constraint FK_4026694_4027417 foreign key (C_ENAPLOHASZNALATA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ENAPLOHASZNALAT (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ADATSZOLGALTATASENAPLO add constraint FK_4026694_4027419 foreign key (C_WIFIELERES, C_INTEZMENYID, C_TANEVID) references [dbo].T_WIFIELERES (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEMKOTOTTMUNKAIDO add constraint FK_4026677_4026682 foreign key (C_TEVEKENYSEGTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_TEVEKENYSEGTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEMKOTOTTMUNKAIDO add constraint FK_4026677_4026746 foreign key (C_HETIREND, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETIRENDTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESLADAT add constraint FK_4026669_4026672 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_ESLADATTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARIHET add constraint FK_4026294_4026295 foreign key (C_HETIREND, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETIRENDTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HELYETTESITESIIDOSZAK add constraint FK_4026286_4026293 foreign key (C_HELYETTESITESTIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_HELYETTESITESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTSAG add constraint FK_4026191_4026196 foreign key (C_SZEREPKORTIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_SZEREPKORTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_4026116_4026121 foreign key (C_MUNKAKORTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_MUNKAKORTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_4026116_4026122 foreign key (C_MUNKAVISZONYTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_MUNKAVISZONYTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_4026116_4026343 foreign key (C_PEDAGOGUSSTATUSZA, C_INTEZMENYID, C_TANEVID) references [dbo].T_PEDAGOGUSSTATUSZ (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_4026116_4026352 foreign key (C_KEPESITES, C_INTEZMENYID, C_TANEVID) references [dbo].T_KEPESITES (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_4026116_4026365 foreign key (C_MUNKAIDOKEDVEZMENYOKA, C_INTEZMENYID, C_TANEVID) references [dbo].T_MUNKAIDOKEDVEZMENYOKA (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTASSTATISZTIKA add constraint FK_4026053_4026066 foreign key (C_STATISZTIKATIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_MULASZTASSTATISZTIKATIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELADATELLATASIHELY add constraint FK_4026010_4026011 foreign key (C_OKTATASINEVELESIFELADATTIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_OKTATASINEVELESIFELADAT (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIZAROCSOPORT add constraint FK_4026005_4026006 foreign key (C_CSOPORTOKTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_CSOPORTTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIZAROCSOPORT add constraint FK_4026005_4026007 foreign key (C_EVFOLYAM, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVFOLYAMTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIZAROCSOPORT add constraint FK_4026005_4026009 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_KIZAROCSOPORTTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RENDSZERBEALLITAS add constraint FK_4025997_4025999 foreign key (C_BEALLITASTIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_RENDSZERBEALLITASTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RENDSZERBEALLITAS add constraint FK_4025997_4026001 foreign key (C_ERTEKTIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_SYSTEMSETTINGSCONTROLTYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORATERV add constraint FK_4025994_4025995 foreign key (C_EVFOLYAM, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVFOLYAMTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOERTESITESBEALLITA add constraint FK_4025962_4025965 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_ERTESITESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANARIATLAGSULY add constraint FK_4025957_4025959 foreign key (C_ERTEKELESMODJA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ERTEKELESMOD (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITESGENERALASTORTENET add constraint FK_4025928_4025931 foreign key (C_ERTESITESTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ERTESITESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITES add constraint FK_4025868_4025872 foreign key (C_SZINTIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_ERTESITESSZINTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITES add constraint FK_4025868_4025873 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_ERTESITESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEVEKENYSEG add constraint FK_4025839_4025840 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_TEVEKENYSEGTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSELETPALYAMODELL add constraint FK_4025801_4025802 foreign key (C_FOKOZAT, C_INTEZMENYID, C_TANEVID) references [dbo].T_ELETPALYAMODELLFOKOZATTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSELETPALYAMODELL add constraint FK_4025801_4025804 foreign key (C_PORTFOLIOSTATUSZ, C_INTEZMENYID, C_TANEVID) references [dbo].T_ELETPALYAMODELLSTATUSZOK (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLAS add constraint FK_4025746_4025747 foreign key (C_IGAZOLASTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_IGAZOLASTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYZATERTEKELES add constraint FK_4025722_4025723 foreign key (C_ERTEKELESMODJA, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_ERTEKELESMOD (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYFONOKIERTEKELES add constraint FK_4025718_4025719 foreign key (C_MAGATARTAS, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_MAGATARTASERTEKELESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYFONOKIERTEKELES add constraint FK_4025718_4025720 foreign key (C_SZORGALOM, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_SZORGALOMERTEKELESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESEMENY add constraint FK_4025699_4025708 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_ESEMENYTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTAS add constraint FK_4025654_4025658 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_MULASZTASTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTAS add constraint FK_4025654_4025695 foreign key (C_IGAZOLASTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_IGAZOLASTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_4025641_4025644 foreign key (C_ERTEKELESTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ERTEKELESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_4025641_4026317 foreign key (C_OSZTALYZAT, C_INTEZMENYID, C_TANEVID) references [dbo].T_OSZTALYZATTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025575_4025580 foreign key (C_HELYETTESITESTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_HELYETTESITESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025575_4025581 foreign key (C_HETNAPJA, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETNAPJATIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP add constraint FK_4025562_4025563 foreign key (C_HETIREND, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETIRENDTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP add constraint FK_4025562_4025567 foreign key (C_NAPTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_NAPTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP add constraint FK_4025562_4026270 foreign key (C_ALAPHETIREND, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETIRENDTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP add constraint FK_4025562_4026272 foreign key (C_ALAPNAPTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_NAPTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4025530_4025533 foreign key (C_HETIREND, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETIRENDTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4025530_4025534 foreign key (C_HETNAPJA, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETNAPJATIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANEVRENDJE add constraint FK_4025441_4025444 foreign key (C_HETIREND, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETIRENDTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANEVRENDJE add constraint FK_4025441_4025445 foreign key (C_HETNAPJA, C_INTEZMENYID, C_TANEVID) references [dbo].T_HETNAPJATIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANEVRENDJE add constraint FK_4025441_4025447 foreign key (C_NAPTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_NAPTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZAS add constraint FK_4025422_4025423 foreign key (C_FOGLALKOZASTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_FOGLALKOZASTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTARGY add constraint FK_4025399_4025404 foreign key (C_TARGYKATEGORIA, C_INTEZMENYID, C_TANEVID) references [dbo].T_TARGYKATEGORIATIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTERV add constraint FK_4025392_4025393 foreign key (C_CSOPORTTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_CSOPORTTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTERV add constraint FK_4025392_4025394 foreign key (C_EVFOLYAMIG, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVFOLYAMTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTERV add constraint FK_4025392_4025395 foreign key (C_EVFOLYAMTOL, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVFOLYAMTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT add constraint FK_4025296_4025418 foreign key (C_EVFOLYAMTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVFOLYAMTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALY add constraint FK_4025294_4025295 foreign key (C_KEPZESIFORMA, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_TANTERVIJELLEG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORT add constraint FK_4025277_4025300 foreign key (C_TIPUSA, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_CSOPORTTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_INTEZMENYADATOK add constraint FK_4025209_4026340 foreign key (C_KRETATIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_KRETATIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025259 foreign key (C_INGYENESTANKONVYELLATASA, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_INGYENESTANKONYVELLATAS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025262 foreign key (C_MAGANTANULOSAGANAKOKA, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_MAGANTANULOSAGOKA (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025274 foreign key (C_TESTNEVELESTIPUSA, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_TESTNEVELESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025344 foreign key (C_ETKEZESIKEDVEZMENY, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_ETKEZESIKEDVEZMENYTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025346 foreign key (C_HATRANYOSHELYZETU, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_HATRANYOSHELYZETTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025357 foreign key (C_VALLASA, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_VALLAS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025488 foreign key (C_ERTELMIFOGYATEKOS, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_ERTELMIFOGYATEKOSTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025493 foreign key (C_HALLASSERULT, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_HALLASSERULTTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025178_4025495 foreign key (C_LATASSERULT, C_ALINTEZMENYID, C_ALTANEVID) references [dbo].T_LATASSERULTTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_GONDVISELO add constraint FK_4025169_4025177 foreign key (C_ROKONSAGFOKA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ROKONSAGIFOK (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM add constraint FK_4025122_4025124 foreign key (C_JELLEG, C_INTEZMENYID, C_TANEVID) references [dbo].T_TEREMTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_4025098_4025109 foreign key (C_KATEGORIA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ESZKOZKATEGORIA (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_4025098_4025119 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_ESZKOZTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_4025098_4025247 foreign key (C_CELJA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ESZKOZCEL (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_4025098_4025248 foreign key (C_JELLEGE, C_INTEZMENYID, C_TANEVID) references [dbo].T_ESZKOZJELLEG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_4025098_4025249 foreign key (C_MENNYISEGIEGYSEG, C_INTEZMENYID, C_TANEVID) references [dbo].T_MERTEKEGYSEGTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_AUTOMATICMESSAGES add constraint FK_4023650_4023652 foreign key (C_EVENTTYPE, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVENTTYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILADATOK add constraint FK_3940527_3941607 foreign key (C_ERTESITESTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ERTESITESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTEMAILMESSAGE add constraint FK_3940467_3940977 foreign key (C_STATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_MESSAGESTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTMESSAGEQUEUE add constraint FK_3911920_3912879 foreign key (C_EVENTTYPE, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVENTTYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTMESSAGEQUEUE add constraint FK_3911920_3912884 foreign key (C_STATUSTYPE, C_INTEZMENYID, C_TANEVID) references [dbo].T_ESEMENYSTATUSZ (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILUZENET add constraint FK_3310188_3310509 foreign key (C_STATUSZ, C_INTEZMENYID, C_TANEVID) references [dbo].T_MESSAGESTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESEK add constraint FK_2489006_2489214 foreign key (C_TIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_OTPJELENTESTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SMS add constraint FK_1361985_1362201 foreign key (C_MESSAGESTATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_SMSMESSAGESTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_USERNOTIFICATION add constraint FK_1257831_2831508 foreign key (C_EVENTTYPE, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVENTTYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTUDENTTEMPORARYCARD add constraint FK_990847_2200750 foreign key (C_STUDENTCARDSTATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_STUDENTCARDSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_990791_2027200 foreign key (C_STATUSZ, C_INTEZMENYID, C_TANEVID) references [dbo].T_DIAKIGAZOLVANYIGENYSTATUSZ (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_990791_2847245 foreign key (C_IGENYTIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_DIAKIGAZOLVANYIGENYTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_990791_2847249 foreign key (C_HIBASTATUSZ, C_INTEZMENYID, C_TANEVID) references [dbo].T_DIAKIGAZOLVANYIGENYHIBASTATU (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTICKER add constraint FK_990790_2027299 foreign key (C_STATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_SCSTICKERSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCTEMPORARYCARD add constraint FK_990788_995463 foreign key (C_STATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_STUDENTCARDSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCCARD add constraint FK_990787_995563 foreign key (C_STATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_STUDENTCARDSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCCARD add constraint FK_990787_3832494 foreign key (C_BEVONASOKA, C_INTEZMENYID, C_TANEVID) references [dbo].T_SCCARDBEVONASOKA (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_BANKACCOUNT add constraint FK_25529_2488806 foreign key (C_OTP, C_INTEZMENYID, C_TANEVID) references [dbo].T_OTPJELENTESSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TELEFON add constraint FK_20775_24305 foreign key (C_TELEFONTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_TELEFONTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FORMS add constraint FK_15404_15451 foreign key (C_FORMTYPE, C_INTEZMENYID, C_TANEVID) references [dbo].T_FORMTYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONGROUP add constraint FK_14044_60071 foreign key (C_STATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_IMPOSITIONSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FEE add constraint FK_13245_45217 foreign key (C_NAME, C_INTEZMENYID, C_TANEVID) references [dbo].T_FEETYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZEREPKOR add constraint FK_13092_242439 foreign key (C_SZEREPKORTIPUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_SZEREPKORTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIM add constraint FK_11094_28626 foreign key (C_CIMTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_CIMTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIM add constraint FK_11094_32027 foreign key (C_ORSZAG, C_INTEZMENYID, C_TANEVID) references [dbo].T_ORSZAGTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIM add constraint FK_11094_2424720 foreign key (C_KOZTERULETJELLEGE, C_INTEZMENYID, C_TANEVID) references [dbo].T_KOZTERULETJELLEG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_10735_45200 foreign key (C_PAYINGTYPE, C_INTEZMENYID, C_TANEVID) references [dbo].T_PAYINGTYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_10735_1030545 foreign key (C_STATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_TRANSACTIONSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAIL add constraint FK_9876_24312 foreign key (C_EMAILTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_EMAILTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO add constraint FK_8935_9951 foreign key (C_NEME, C_INTEZMENYID, C_TANEVID) references [dbo].T_NEM (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO add constraint FK_8935_32780 foreign key (C_ALLAMPOLGARSAGA, C_INTEZMENYID, C_TANEVID) references [dbo].T_ALLAMPOLGARSAG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO add constraint FK_8935_41892 foreign key (C_SZULETESIORSZAG, C_INTEZMENYID, C_TANEVID) references [dbo].T_ORSZAGTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO add constraint FK_8935_4025149 foreign key (C_ANYANYELVE, C_INTEZMENYID, C_TANEVID) references [dbo].T_ANYANYELV (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO add constraint FK_8935_4025151 foreign key (C_IGAZOLVANYTIPUSA, C_INTEZMENYID, C_TANEVID) references [dbo].T_IGAZOLVANYTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO add constraint FK_8935_4026210 foreign key (C_ALLAMPOLGARSAGA2, C_INTEZMENYID, C_TANEVID) references [dbo].T_ALLAMPOLGARSAG (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MESSAGE add constraint FK_8800_3359635 foreign key (C_EVENTTYPE, C_INTEZMENYID, C_TANEVID) references [dbo].T_EVENTTYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYMENTTITLE add constraint FK_8214_228147 foreign key (C_TITLETYPE, C_INTEZMENYID, C_TANEVID) references [dbo].T_PAYMENTTITLETYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILE add constraint FK_8130_1312224 foreign key (C_STATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_TRANSACTIONANALYSISFILESTATU (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_8108_26260 foreign key (C_STATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_IMPOSITIONSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_8108_920042 foreign key (C_FEENAME, C_INTEZMENYID, C_TANEVID) references [dbo].T_FEETYPE (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_8108_4026161 foreign key (C_PARTFILLSTATUS, C_INTEZMENYID, C_TANEVID) references [dbo].T_PARTFILLSTATUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
--/*Entitások egyébb FK*/
|
|
|
|
alter table [DBO].T_IKTESZKOZHASZNALATMOD add constraint FK_T_21038_4027466 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTESZKOZHASZNALATMOD add constraint FK_402742902_402742900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTESZKOZHASZNALATMOD add constraint FK_402742905_402742903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ELSODLEGESIKTESZKOZ add constraint FK_T_21038_4027468 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ELSODLEGESIKTESZKOZ add constraint FK_402742802_402742800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ELSODLEGESIKTESZKOZ add constraint FK_402742805_402742803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSIKTADATSZOLGALTATAS add constraint FK_4027463_4027462 foreign key (C_ALKALMAZOTTID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSIKTADATSZOLGALTATAS add constraint FK_402742402_402742400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSIKTADATSZOLGALTATAS add constraint FK_402742405_402742403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_WIFIELERES add constraint FK_T_21038_4027469 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_WIFIELERES add constraint FK_402742302_402742300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_WIFIELERES add constraint FK_402742305_402742303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_IKTKOMPETENCIASZINT add constraint FK_T_21038_4027465 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTKOMPETENCIASZINT add constraint FK_402742202_402742200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTKOMPETENCIASZINT add constraint FK_402742205_402742203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ENAPLOHASZNALAT add constraint FK_T_21038_4027467 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENAPLOHASZNALAT add constraint FK_402742002_402742000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENAPLOHASZNALAT add constraint FK_402742005_402742003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TAGOZATTIPUS add constraint FK_T_21038_4027401 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TAGOZATTIPUS add constraint FK_402739602_402739600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TAGOZATTIPUS add constraint FK_402739605_402739603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_4027460_4027459 foreign key (C_FELADATELLATASIHELYID) references [DBO].T_FELADATELLATASIHELY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_402736302_402736300 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEBULO add constraint FK_402736305_402736303 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_FELVETELSTATUSZATIPUS add constraint FK_T_21038_4027400 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELVETELSTATUSZATIPUS add constraint FK_402736202_402736200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELVETELSTATUSZATIPUS add constraint FK_402736205_402736203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_UPLOADEDFILE add constraint FK_402729802_402729800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_UPLOADEDFILE add constraint FK_402729805_402729803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_IDOKERET add constraint FK_T_21038_4027209 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IDOKERET add constraint FK_402719202_402719200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IDOKERET add constraint FK_402719205_402719203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCABIZONYLAT add constraint FK_4027207_4027205 foreign key (C_EPENZTARCATETELID) references [DBO].T_EPENZTARCATETEL (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCABIZONYLAT add constraint FK_402718902_402718900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCABIZONYLAT add constraint FK_402718905_402718903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_OSSZEGTULLEPESTIPUS add constraint FK_T_21038_4027210 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSSZEGTULLEPESTIPUS add constraint FK_402718802_402718800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSSZEGTULLEPESTIPUS add constraint FK_402718805_402718803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCATETEL add constraint FK_402718102_402718100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCATETEL add constraint FK_402718105_402718103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_EPENZTARCATETELSTATUSZ add constraint FK_T_21038_4027208 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCATETELSTATUSZ add constraint FK_402718002_402718000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCATETELSTATUSZ add constraint FK_402718005_402718003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCAPARAMETEREK add constraint FK_402717102_402717100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EPENZTARCAPARAMETEREK add constraint FK_402717105_402717103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGY add constraint FK_4026978_4026976 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGY add constraint FK_4027306_4027304 foreign key (C_UPLOADEDFILEID) references [DBO].T_UPLOADEDFILE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGY add constraint FK_402695802_402695800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGY add constraint FK_402695805_402695803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_HIBAJEGYSTATUSZ add constraint FK_T_21038_4026955 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGYSTATUSZ add constraint FK_402695302_402695300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HIBAJEGYSTATUSZ add constraint FK_402695305_402695303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_PRIORITAS add constraint FK_T_21038_4026956 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PRIORITAS add constraint FK_402695202_402695200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PRIORITAS add constraint FK_402695205_402695203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_FORRAS add constraint FK_T_21038_4026954 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FORRAS add constraint FK_402695102_402695100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FORRAS add constraint FK_402695105_402695103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SZERZODOSZEMELYPOZICIO add constraint FK_T_21038_4026714 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZERZODOSZEMELYPOZICIO add constraint FK_402670902_402670900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZERZODOSZEMELYPOZICIO add constraint FK_402670905_402670903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ENAPLOTIPUS add constraint FK_T_21038_4026713 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENAPLOTIPUS add constraint FK_402670802_402670800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENAPLOTIPUS add constraint FK_402670805_402670803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ENAPLOFORRAS add constraint FK_T_21038_4026712 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENAPLOFORRAS add constraint FK_402670702_402670700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENAPLOFORRAS add constraint FK_402670705_402670703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ADATSZOLGALTATASENAPLO add constraint FK_402669402_402669400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ADATSZOLGALTATASENAPLO add constraint FK_402669405_402669403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ENAPLOINFRA add constraint FK_T_21038_4026711 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENAPLOINFRA add constraint FK_402669302_402669300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENAPLOINFRA add constraint FK_402669305_402669303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEMKOTOTTMUNKAIDO add constraint FK_4026685_4026684 foreign key (C_TANARID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEMKOTOTTMUNKAIDO add constraint FK_4026688_4026687 foreign key (C_TULAJDONOSID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEMKOTOTTMUNKAIDO add constraint FK_402667702_402667700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEMKOTOTTMUNKAIDO add constraint FK_402667705_402667703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESLADAT add constraint FK_402666902_402666900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESLADAT add constraint FK_402666905_402666903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESLADATOK add constraint FK_4026674_4026673 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESLADATOK add constraint FK_402662602_402662600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESLADATOK add constraint FK_402662605_402662603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ESLADATTIPUS add constraint FK_T_21038_4026676 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESLADATTIPUS add constraint FK_402662502_402662500 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESLADATTIPUS add constraint FK_402662505_402662503 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZASARCHIV add constraint FK_402659302_402659300 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZASARCHIV add constraint FK_402659305_402659303 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SOROLASOKATIPUS add constraint FK_T_21038_4026543 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SOROLASOKATIPUS add constraint FK_402653902_402653900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SOROLASOKATIPUS add constraint FK_402653905_402653903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORTTIPUS_FOGLALKOZASTIPU add constraint FK_402653702_402653700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORTTIPUS_FOGLALKOZASTIPU add constraint FK_402653705_402653703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORTTIPUS_FOGLALKOZASTIPU add constraint FK_4026541_4026540 foreign key (C_CSOPORTTIPUSID,C_INTEZMENYID, C_TANEVID) references [DBO].T_CSOPORTTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORTTIPUS_FOGLALKOZASTIPU add constraint FK_4026542_4026540 foreign key (C_FOGLALKOZASTIPUSID,C_INTEZMENYID, C_TANEVID) references [DBO].T_FOGLALKOZASTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIRTELEPHELY add constraint FK_4026536_4026534 foreign key (C_INTEZMENYADATOKID) references [DBO].T_INTEZMENYADATOK (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIRTELEPHELY add constraint FK_402653002_402653000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIRTELEPHELY add constraint FK_402653005_402653003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MUNKAIDOKEDVEZMENYOKA add constraint FK_T_21038_4026367 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAIDOKEDVEZMENYOKA add constraint FK_402636602_402636600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAIDOKEDVEZMENYOKA add constraint FK_402636605_402636603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_KEPESITES add constraint FK_T_21038_4026357 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KEPESITES add constraint FK_402635302_402635300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KEPESITES add constraint FK_402635305_402635303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_INTEZMENYADATSZOLGALTATAS add constraint FK_4026359_4026358 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_INTEZMENYADATSZOLGALTATAS add constraint FK_4026362_4026361 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_PEDAGOGUSSTATUSZ add constraint FK_T_21038_4026345 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSSTATUSZ add constraint FK_402634202_402634200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSSTATUSZ add constraint FK_402634205_402634203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_KRETATIPUS add constraint FK_T_21038_4026341 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KRETATIPUS add constraint FK_402633902_402633900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KRETATIPUS add constraint FK_402633905_402633903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARIHET add constraint FK_402629402_402629400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARIHET add constraint FK_402629405_402629403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HELYETTESITESIIDOSZAK add constraint FK_4026691_4026690 foreign key (C_ROGZITOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HELYETTESITESIIDOSZAK add constraint FK_402628602_402628600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HELYETTESITESIIDOSZAK add constraint FK_402628605_402628603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HELYETTESITESIIDOSZAK add constraint FK_4026290_4026289 foreign key (C_HELYETTESITETTORARENDID) references [DBO].T_ORARENDIORA (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HELYETTESITESIIDOSZAK add constraint FK_4026291_4026289 foreign key (C_HELYETTESTANAROKID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTATOTTDOKUMENTUMOK add constraint FK_4026219_4026218 foreign key (C_DOKPARTNERGONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTATOTTDOKUMENTUMOK add constraint FK_4026222_4026221 foreign key (C_FELTOLTOGONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTATOTTDOKUMENTUMOK add constraint FK_4026228_4026227 foreign key (C_DOKUMENTUMPARTNEREID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTATOTTDOKUMENTUMOK add constraint FK_4026231_4026230 foreign key (C_FELTOLTOFELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTATOTTDOKUMENTUMOK add constraint FK_402621202_402621200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IKTATOTTDOKUMENTUMOK add constraint FK_402621205_402621203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTSAG add constraint FK_402619102_402619100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTSAG add constraint FK_402619105_402619103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SZEREPKORTIPUS add constraint FK_T_21038_4026190 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZEREPKORTIPUS add constraint FK_402618902_402618900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZEREPKORTIPUS add constraint FK_402618905_402618903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOKOZOSSEGISZOLGALAT add constraint FK_4026179_4026177 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOKOZOSSEGISZOLGALAT add constraint FK_4026300_4026299 foreign key (C_FELJEGYZOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOKOZOSSEGISZOLGALAT add constraint FK_402617202_402617200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOKOZOSSEGISZOLGALAT add constraint FK_402617205_402617203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_PARTFILLSTATUS add constraint FK_T_21038_4026163 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PARTFILLSTATUS add constraint FK_402616202_402616200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PARTFILLSTATUS add constraint FK_402616205_402616203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RENDSZERERTESITESEK add constraint FK_402613702_402613700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RENDSZERERTESITESEK add constraint FK_402613705_402613703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_4026125_4026124 foreign key (C_FELADATELLATASIHELYID) references [DBO].T_FELADATELLATASIHELY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_4026129_4026127 foreign key (C_ALKALMAZOTTID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_402611602_402611600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAUGYIADATOK add constraint FK_402611605_402611603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SYSTEMSETTINGSCONTROLTYPE add constraint FK_T_21038_4026110 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMSETTINGSCONTROLTYPE add constraint FK_402610902_402610900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMSETTINGSCONTROLTYPE add constraint FK_402610905_402610903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCHEDULERLOG add constraint FK_402608802_402608800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCHEDULERLOG add constraint FK_402608805_402608803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MULASZTASSTATISZTIKATIPUS add constraint FK_T_21038_4026079 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MULASZTASSTATISZTIKATIPUS add constraint FK_402607802_402607800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MULASZTASSTATISZTIKATIPUS add constraint FK_402607805_402607803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOTARGYMULASZTASSTATISZT add constraint FK_402606802_402606800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOTARGYMULASZTASSTATISZT add constraint FK_402606805_402606803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOTARGYMULASZTASSTATISZT add constraint FK_4026076_4026075 foreign key (C_TANULOMULASZTASSTATISZTIKAII) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOTARGYMULASZTASSTATISZT add constraint FK_4026077_4026075 foreign key (C_TARGYMULASZTASSTATISZTIKAIID) references [DBO].T_FOGLALKOZAS (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTASSTATISZTIKA add constraint FK_4026073_4026072 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTASSTATISZTIKA add constraint FK_402605302_402605300 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTASSTATISZTIKA add constraint FK_402605305_402605303 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OLDALLATOGATOTTSAG add constraint FK_4026047_4026046 foreign key (C_GONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OLDALLATOGATOTTSAG add constraint FK_4026050_4026049 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OLDALLATOGATOTTSAG add constraint FK_402604202_402604200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OLDALLATOGATOTTSAG add constraint FK_402604205_402604203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELADATELLATASIHELY add constraint FK_4026032_4026030 foreign key (C_MUKODESIHELYID) references [DBO].T_MUKODESIHELY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELADATELLATASIHELY add constraint FK_402601002_402601000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELADATELLATASIHELY add constraint FK_402601005_402601003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIZAROCSOPORT add constraint FK_402600502_402600500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIZAROCSOPORT add constraint FK_402600505_402600503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_RENDSZERBEALLITASTIPUS add constraint FK_T_21038_4026040 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RENDSZERBEALLITASTIPUS add constraint FK_402600402_402600400 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RENDSZERBEALLITASTIPUS add constraint FK_402600405_402600403 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORATERVTARGY add constraint FK_402600202_402600200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORATERVTARGY add constraint FK_402600205_402600203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORATERVTARGY add constraint FK_4026019_4026018 foreign key (C_ORATERVID) references [DBO].T_ORATERV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORATERVTARGY add constraint FK_4026020_4026018 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RENDSZERBEALLITAS add constraint FK_402599702_402599700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RENDSZERBEALLITAS add constraint FK_402599705_402599703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORATERV add constraint FK_4026017_4026015 foreign key (C_TANTERVID) references [DBO].T_TANTERV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORATERV add constraint FK_402599402_402599400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORATERV add constraint FK_402599405_402599403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_KIZAROCSOPORTTIPUS add constraint FK_T_21038_4026039 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIZAROCSOPORTTIPUS add constraint FK_402599102_402599100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KIZAROCSOPORTTIPUS add constraint FK_402599105_402599103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOERTESITESBEALLITA add constraint FK_4025971_4025969 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOERTESITESBEALLITA add constraint FK_402596202_402596200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOERTESITESBEALLITA add constraint FK_402596205_402596203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANARIATLAGSULY add constraint FK_402595702_402595700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANARIATLAGSULY add constraint FK_402595705_402595703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANARITANTARGY add constraint FK_402594002_402594000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANARITANTARGY add constraint FK_402594005_402594003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANARITANTARGY add constraint FK_4025945_4025944 foreign key (C_ALKALMAZOTTID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANARITANTARGY add constraint FK_4025946_4025944 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITESGENERALASTORTENET add constraint FK_402592802_402592800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITESGENERALASTORTENET add constraint FK_402592805_402592803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MESSAGESTATUS add constraint FK_T_21038_4025927 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MESSAGESTATUS add constraint FK_402592602_402592600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MESSAGESTATUS add constraint FK_402592605_402592603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGYAKORLAT add constraint FK_4025910_4025909 foreign key (C_JOGYAKORLATTULAJDONOSID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGYAKORLAT add constraint FK_4026037_4026036 foreign key (C_FELADATELLATASIHELYID) references [DBO].T_FELADATELLATASIHELY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGYAKORLAT add constraint FK_402590602_402590600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGYAKORLAT add constraint FK_402590605_402590603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_EVENTTYPE add constraint FK_T_21038_4025902 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EVENTTYPE add constraint FK_402590102_402590100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EVENTTYPE add constraint FK_402590105_402590103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCHEDULERTRIGGERS add constraint FK_402589302_402589300 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCHEDULERTRIGGERS add constraint FK_402589305_402589303 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCHEDULERCONTEXTS add constraint FK_402588802_402588800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCHEDULERCONTEXTS add constraint FK_402588805_402588803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCHEDULERJOBS add constraint FK_402588502_402588500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCHEDULERJOBS add constraint FK_402588505_402588503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITES add constraint FK_402586802_402586800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITES add constraint FK_402586805_402586803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_GONDVISELOERTESITES add constraint FK_402586602_402586600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_GONDVISELOERTESITES add constraint FK_402586605_402586603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_GONDVISELOERTESITES add constraint FK_4025877_4025876 foreign key (C_ERTESITESID) references [DBO].T_ERTESITES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_GONDVISELOERTESITES add constraint FK_4025878_4025876 foreign key (C_GONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ERTESITESTIPUS add constraint FK_T_21038_4025883 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITESTIPUS add constraint FK_402586502_402586500 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITESTIPUS add constraint FK_402586505_402586503 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOERTESITES add constraint FK_402586302_402586300 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOERTESITES add constraint FK_402586305_402586303 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOERTESITES add constraint FK_4025880_4025879 foreign key (C_ERTESITESID) references [DBO].T_ERTESITES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOERTESITES add constraint FK_4025881_4025879 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ERTESITESSZINTIPUS add constraint FK_T_21038_4025882 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITESSZINTIPUS add constraint FK_402586202_402586200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTESITESSZINTIPUS add constraint FK_402586205_402586203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEVEKENYSEG add constraint FK_4025850_4025849 foreign key (C_ESEMENYTULAJDONOSID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEVEKENYSEG add constraint FK_402583902_402583900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEVEKENYSEG add constraint FK_402583905_402583903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TEVEKENYSEGTIPUS add constraint FK_T_21038_4025861 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEVEKENYSEGTIPUS add constraint FK_402583802_402583800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEVEKENYSEGTIPUS add constraint FK_402583805_402583803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FALIUJSAGBEJEGYZES add constraint FK_4026303_4026302 foreign key (C_BEJEGYZOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FALIUJSAGBEJEGYZES add constraint FK_402581502_402581500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FALIUJSAGBEJEGYZES add constraint FK_402581505_402581503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FALIUJSAGLATOGATTOTSAG add constraint FK_402581302_402581300 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FALIUJSAGLATOGATTOTSAG add constraint FK_402581305_402581303 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FALIUJSAGLATOGATTOTSAG add constraint FK_4025823_4025822 foreign key (C_FALIUJSAGBEJEGYZESID) references [DBO].T_FALIUJSAGBEJEGYZES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FALIUJSAGLATOGATTOTSAG add constraint FK_4025824_4025822 foreign key (C_GONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSELETPALYAMODELL add constraint FK_4025810_4025808 foreign key (C_TANARID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSELETPALYAMODELL add constraint FK_402580102_402580100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PEDAGOGUSELETPALYAMODELL add constraint FK_402580105_402580103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ELETPALYAMODELLFOKOZATTIPUS add constraint FK_T_21038_4025811 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ELETPALYAMODELLFOKOZATTIPUS add constraint FK_402580002_402580000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ELETPALYAMODELLFOKOZATTIPUS add constraint FK_402580005_402580003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ELETPALYAMODELLSTATUSZOK add constraint FK_T_21038_4025812 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ELETPALYAMODELLSTATUSZOK add constraint FK_402579902_402579900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ELETPALYAMODELLSTATUSZOK add constraint FK_402579905_402579903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ESEMENYZARADEKTIPUS add constraint FK_T_21038_4025798 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESEMENYZARADEKTIPUS add constraint FK_402579702_402579700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESEMENYZARADEKTIPUS add constraint FK_402579705_402579703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMENTESSEG add constraint FK_4025776_4025775 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMENTESSEG add constraint FK_4025780_4025778 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMENTESSEG add constraint FK_402576902_402576900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMENTESSEG add constraint FK_402576905_402576903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPLOELLENORZES add constraint FK_4025763_4025762 foreign key (C_OSZTALYID) references [DBO].T_OSZTALY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPLOELLENORZES add constraint FK_4026306_4026305 foreign key (C_ELLENORZOSZEMELYID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPLOELLENORZES add constraint FK_402575202_402575200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPLOELLENORZES add constraint FK_402575205_402575203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLAS add constraint FK_4025758_4025756 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLAS add constraint FK_4025761_4025759 foreign key (C_ROGZITOID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLAS add constraint FK_402574602_402574600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLAS add constraint FK_402574605_402574603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORALATOGATAS add constraint FK_4025792_4025791 foreign key (C_ERTEKELOID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORALATOGATAS add constraint FK_4025795_4025794 foreign key (C_MEGTARTOTTORAID) references [DBO].T_TANITASIORA (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORALATOGATAS add constraint FK_402572802_402572800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORALATOGATAS add constraint FK_402572805_402572803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYZATERTEKELES add constraint FK_T_4025641_4025742 foreign key (ID) references [DBO].T_TANULOERTEKELES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYZATERTEKELES add constraint FK_402572202_402572200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYZATERTEKELES add constraint FK_402572205_402572203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MAGATARTASERTEKELESTIPUS add constraint FK_T_21038_4025744 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MAGATARTASERTEKELESTIPUS add constraint FK_402572102_402572100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MAGATARTASERTEKELESTIPUS add constraint FK_402572105_402572103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYFONOKIERTEKELES add constraint FK_T_4025641_4025743 foreign key (ID) references [DBO].T_TANULOERTEKELES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYFONOKIERTEKELES add constraint FK_402571802_402571800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYFONOKIERTEKELES add constraint FK_402571805_402571803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SZORGALOMERTEKELESTIPUS add constraint FK_T_21038_4025745 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZORGALOMERTEKELESTIPUS add constraint FK_402571702_402571700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZORGALOMERTEKELESTIPUS add constraint FK_402571705_402571703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESEMENY add constraint FK_4025711_4025710 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESEMENY add constraint FK_4025714_4025713 foreign key (C_FELJEGYZOID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESEMENY add constraint FK_4025942_4025941 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESEMENY add constraint FK_402569902_402569900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOESEMENY add constraint FK_402569905_402569903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ESEMENYTIPUS add constraint FK_T_21038_4025716 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESEMENYTIPUS add constraint FK_402569802_402569800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESEMENYTIPUS add constraint FK_402569805_402569803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_IGAZOLASTIPUS add constraint FK_T_21038_4025697 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLASTIPUS add constraint FK_402569602_402569600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLASTIPUS add constraint FK_402569605_402569603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSENGETESIRENDORA add constraint FK_4025684_4025683 foreign key (C_CSENGETESIRENDID) references [DBO].T_CSENGETESIREND (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSENGETESIRENDORA add constraint FK_402567902_402567900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSENGETESIRENDORA add constraint FK_402567905_402567903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MULASZTASTIPUS add constraint FK_T_21038_4025677 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MULASZTASTIPUS add constraint FK_402565902_402565900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MULASZTASTIPUS add constraint FK_402565905_402565903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTAS add constraint FK_402565402_402565400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTAS add constraint FK_402565405_402565403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTAS add constraint FK_4025673_4025672 foreign key (C_ORATANULOIID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOMULASZTAS add constraint FK_4025674_4025672 foreign key (C_TANITASIORAKID) references [DBO].T_TANITASIORA (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ERTEKELESMOD add constraint FK_T_21038_4025675 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTEKELESMOD add constraint FK_402565302_402565300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTEKELESMOD add constraint FK_402565305_402565303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_OSZTALYZATTIPUS add constraint FK_T_21038_4025678 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYZATTIPUS add constraint FK_402565202_402565200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYZATTIPUS add constraint FK_402565205_402565203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ERTEKELESTIPUS add constraint FK_T_21038_4025676 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTEKELESTIPUS add constraint FK_402565102_402565100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTEKELESTIPUS add constraint FK_402565105_402565103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_4025662_4025660 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_4025665_4025663 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_4025668_4025666 foreign key (C_OSZTALYCSOPORTID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_4025670_4025669 foreign key (C_ERTEKELOID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_4025938_4025937 foreign key (C_TANORAID) references [DBO].T_TANITASIORA (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_402564102_402564100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOERTEKELES add constraint FK_402564105_402564103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025602_4025601 foreign key (C_TANMENETID) references [DBO].T_TANMENET (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025608_4025607 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025611_4025610 foreign key (C_NAPTARINAPID) references [DBO].T_NAPTARINAP (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025620_4025619 foreign key (C_ORARENDIORAID) references [DBO].T_ORARENDIORA (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025623_4025622 foreign key (C_FOGLALKOZASID) references [DBO].T_FOGLALKOZAS (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025629_4025628 foreign key (C_HELYETTESITOTANARID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025635_4025634 foreign key (C_TEREMID) references [DBO].T_TEREM (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025638_4025637 foreign key (C_OSZTALYCSOPORTID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4025693_4025692 foreign key (C_CSENGETESIRENDORAID) references [DBO].T_CSENGETESIRENDORA (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_4026315_4026314 foreign key (C_ORATULAJDONOSID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_402557502_402557500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANITASIORA add constraint FK_402557505_402557503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_HELYETTESITESTIPUS add constraint FK_T_21038_4025640 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HELYETTESITESTIPUS add constraint FK_402557402_402557400 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HELYETTESITESTIPUS add constraint FK_402557405_402557403 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP add constraint FK_4026276_4026275 foreign key (C_ALAPCSENGETESIRENDID) references [DBO].T_CSENGETESIREND (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP add constraint FK_4026279_4026278 foreign key (C_AKTIVCSENGETESIRENDID) references [DBO].T_CSENGETESIREND (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP add constraint FK_402556202_402556200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP add constraint FK_402556205_402556203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANMENET add constraint FK_4025597_4025595 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANMENET add constraint FK_4025599_4025598 foreign key (C_OSZTALYCSOPORTID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANMENET add constraint FK_4025605_4025604 foreign key (C_FELTOLTOID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANMENET add constraint FK_402555602_402555600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANMENET add constraint FK_402555605_402555603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4025550_4025549 foreign key (C_TEREMID) references [DBO].T_TEREM (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4025554_4025552 foreign key (C_FOGLALKOZASID) references [DBO].T_FOGLALKOZAS (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4025691_4025689 foreign key (C_CSENGETESIRENDORAID) references [DBO].T_CSENGETESIRENDORA (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4026321_4026319 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4026324_4026322 foreign key (C_OSZTALYCSOPORTID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4026327_4026325 foreign key (C_TANARID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_4026329_4026328 foreign key (C_ORATULAJDONOSID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_402553002_402553000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORARENDIORA add constraint FK_402553005_402553003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOCSOPORT add constraint FK_402551802_402551800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOCSOPORT add constraint FK_402551805_402551803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOCSOPORT add constraint FK_4025526_4025525 foreign key (C_OSZTALYCSOPORTID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULOCSOPORT add constraint FK_4025527_4025525 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTARCSOPORT add constraint FK_4025472_4025470 foreign key (C_TULAJDONOSID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTARCSOPORT add constraint FK_402546502_402546500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTARCSOPORT add constraint FK_402546505_402546503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTAR add constraint FK_402546202_402546200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTAR add constraint FK_402546205_402546203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTAR add constraint FK_4025468_4025467 foreign key (C_CIMTARAKID) references [DBO].T_CIMTARCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTAR add constraint FK_4025469_4025467 foreign key (C_TAGOKID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSENGETESIREND add constraint FK_4025687_4025686 foreign key (C_MUKODESIHELYID) references [DBO].T_MUKODESIHELY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSENGETESIREND add constraint FK_402545602_402545600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSENGETESIREND add constraint FK_402545605_402545603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_HETNAPJATIPUS add constraint FK_T_21038_4025455 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HETNAPJATIPUS add constraint FK_402544902_402544900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HETNAPJATIPUS add constraint FK_402544905_402544903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANEVRENDJE add constraint FK_4026086_4026085 foreign key (C_CSENGETESIRENDID) references [DBO].T_CSENGETESIREND (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANEVRENDJE add constraint FK_402544102_402544100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANEVRENDJE add constraint FK_402544105_402544103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_HETIRENDTIPUS add constraint FK_T_21038_4025453 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HETIRENDTIPUS add constraint FK_402544002_402544000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HETIRENDTIPUS add constraint FK_402544005_402544003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_NAPTIPUS add constraint FK_T_21038_4025454 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTIPUS add constraint FK_402543902_402543900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTIPUS add constraint FK_402543905_402543903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_FOGLALKOZASTIPUS add constraint FK_T_21038_4025438 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZASTIPUS add constraint FK_402542502_402542500 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZASTIPUS add constraint FK_402542505_402542503 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZAS add constraint FK_4025428_4025426 foreign key (C_TANTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZAS add constraint FK_4025431_4025429 foreign key (C_OSZTALYCSOPORTID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZAS add constraint FK_402542202_402542200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZAS add constraint FK_402542205_402542203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TARGYKATEGORIATIPUS add constraint FK_T_21038_4025413 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TARGYKATEGORIATIPUS add constraint FK_402540602_402540600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TARGYKATEGORIATIPUS add constraint FK_402540605_402540603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_EVFOLYAMTIPUS add constraint FK_T_21038_4025414 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EVFOLYAMTIPUS add constraint FK_402540502_402540500 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EVFOLYAMTIPUS add constraint FK_402540505_402540503 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTARGY add constraint FK_4025408_4025407 foreign key (C_FOTARGYID) references [DBO].T_TANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTARGY add constraint FK_402539902_402539900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTARGY add constraint FK_402539905_402539903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTERV add constraint FK_402539202_402539200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTERV add constraint FK_402539205_402539203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_OKTATASINEVELESIFELADAT add constraint FK_T_21038_4025391 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OKTATASINEVELESIFELADAT add constraint FK_402537602_402537600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OKTATASINEVELESIFELADAT add constraint FK_402537605_402537603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ERTELMIFOGYATEKOSTIPUS add constraint FK_T_21038_4025374 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTELMIFOGYATEKOSTIPUS add constraint FK_402537202_402537200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERTELMIFOGYATEKOSTIPUS add constraint FK_402537205_402537203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_HALLASSERULTTIPUS add constraint FK_T_21038_4025375 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HALLASSERULTTIPUS add constraint FK_402537102_402537100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HALLASSERULTTIPUS add constraint FK_402537105_402537103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_LATASSERULTTIPUS add constraint FK_T_21038_4025373 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LATASSERULTTIPUS add constraint FK_402537002_402537000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LATASSERULTTIPUS add constraint FK_402537005_402537003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ETKEZESIKEDVEZMENYTIPUS add constraint FK_T_21038_4025361 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ETKEZESIKEDVEZMENYTIPUS add constraint FK_402536002_402536000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ETKEZESIKEDVEZMENYTIPUS add constraint FK_402536005_402536003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_HATRANYOSHELYZETTIPUS add constraint FK_T_21038_4025363 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HATRANYOSHELYZETTIPUS add constraint FK_402535902_402535900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HATRANYOSHELYZETTIPUS add constraint FK_402535905_402535903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_VALLAS add constraint FK_T_21038_4025362 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_VALLAS add constraint FK_402534002_402534000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_VALLAS add constraint FK_402534005_402534003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANEV add constraint FK_4026254_4026253 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT add constraint FK_4025954_4025953 foreign key (C_TEREMID) references [DBO].T_TEREM (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT add constraint FK_4026025_4026024 foreign key (C_FELADATELLATASIHELYID) references [DBO].T_FELADATELLATASIHELY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT add constraint FK_402529602_402529600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT add constraint FK_402529605_402529603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALY add constraint FK_T_4025296_4025338 foreign key (ID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALY add constraint FK_4025320_4025319 foreign key (C_OSZTALYFONOKID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALY add constraint FK_4025323_4025322 foreign key (C_OFOHELYETTESID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALY add constraint FK_4025421_4025419 foreign key (C_TANTERVID) references [DBO].T_TANTERV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALY add constraint FK_402529402_402529400 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALY add constraint FK_402529405_402529403 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TANTERVIJELLEG add constraint FK_T_21038_4025337 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTERVIJELLEG add constraint FK_402529302_402529300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANTERVIJELLEG add constraint FK_402529305_402529303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TESTNEVELESTIPUS add constraint FK_T_21038_4025290 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TESTNEVELESTIPUS add constraint FK_402527902_402527900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TESTNEVELESTIPUS add constraint FK_402527905_402527903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ESZKOZJELLEG add constraint FK_T_21038_4025292 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZJELLEG add constraint FK_402527802_402527800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZJELLEG add constraint FK_402527805_402527803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORT add constraint FK_T_4025296_4025339 foreign key (ID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORT add constraint FK_4025326_4025325 foreign key (C_CSOPORTVEZETOID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORT add constraint FK_4026028_4026027 foreign key (C_KIZAROCSOPORTID) references [DBO].T_KIZAROCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORT add constraint FK_4026206_4026204 foreign key (C_OSZTALYBONTASID) references [DBO].T_OSZTALY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORT add constraint FK_402527702_402527700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORT add constraint FK_402527705_402527703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ESZKOZCEL add constraint FK_T_21038_4025291 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZCEL add constraint FK_402527602_402527600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZCEL add constraint FK_402527605_402527603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MERTEKEGYSEGTIPUS add constraint FK_T_21038_4025289 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MERTEKEGYSEGTIPUS add constraint FK_402524602_402524600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MERTEKEGYSEGTIPUS add constraint FK_402524605_402524603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_INTEZMENYADATOK add constraint FK_4026244_4026243 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_INTEZMENYADATOK add constraint FK_4026248_4026247 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_FENNTARTOTIPUS add constraint FK_T_21038_4025245 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FENNTARTOTIPUS add constraint FK_402519802_402519800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FENNTARTOTIPUS add constraint FK_402519805_402519803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_CSOPORTTIPUS add constraint FK_T_21038_4025243 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORTTIPUS add constraint FK_402519102_402519100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORTTIPUS add constraint FK_402519105_402519103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ROKONSAGIFOK add constraint FK_T_21038_4025189 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ROKONSAGIFOK add constraint FK_402517902_402517900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ROKONSAGIFOK add constraint FK_402517905_402517903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_T_8935_4025190 foreign key (ID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4025416_4025415 foreign key (C_TANTERVID) references [DBO].T_TANTERV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_4026237_4026236 foreign key (C_FELVETELTANEVEID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_402517802_402517800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TANULO add constraint FK_402517805_402517803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_GONDVISELO add constraint FK_4025181_4025180 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_GONDVISELO add constraint FK_402516902_402516900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_GONDVISELO add constraint FK_402516905_402516903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MUNKAKORTIPUS add constraint FK_T_21038_4025164 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAKORTIPUS add constraint FK_402515702_402515700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAKORTIPUS add constraint FK_402515705_402515703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUKODESIHELY add constraint FK_4026252_4026250 foreign key (C_INTEZMENYADATOKID) references [DBO].T_INTEZMENYADATOK (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUKODESIHELY add constraint FK_402514802_402514800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUKODESIHELY add constraint FK_402514805_402514803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ALKALMAZOTT add constraint FK_T_8935_4025165 foreign key (ID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ALKALMAZOTT add constraint FK_402513902_402513900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ALKALMAZOTT add constraint FK_402513905_402513903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ANYANYELV add constraint FK_T_21038_4025161 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ANYANYELV add constraint FK_402513802_402513800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ANYANYELV add constraint FK_402513805_402513803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_IGAZOLVANYTIPUS add constraint FK_T_21038_4025162 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLVANYTIPUS add constraint FK_402513402_402513400 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IGAZOLVANYTIPUS add constraint FK_402513405_402513403 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MUNKAVISZONYTIPUS add constraint FK_T_21038_4025163 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAVISZONYTIPUS add constraint FK_402513302_402513300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAVISZONYTIPUS add constraint FK_402513305_402513303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM add constraint FK_4025412_4025410 foreign key (C_MUKODESIHELYID) references [DBO].T_MUKODESIHELY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM add constraint FK_4026131_4026130 foreign key (C_TEREMFELELOSID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM add constraint FK_402512202_402512200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM add constraint FK_402512205_402512203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ESZKOZTIPUS add constraint FK_T_21038_4025131 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZTIPUS add constraint FK_402512102_402512100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZTIPUS add constraint FK_402512105_402512103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ESZKOZKATEGORIA add constraint FK_T_21038_4025132 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZKATEGORIA add constraint FK_402512002_402512000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZKATEGORIA add constraint FK_402512005_402512003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_4025130_4025128 foreign key (C_TEREMID) references [DBO].T_TEREM (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_4025281_4025280 foreign key (C_FELELOSID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_402509802_402509800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESZKOZ add constraint FK_402509805_402509803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_INGYENESTANKONYVELLATAS add constraint FK_T_21038_4025097 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_INGYENESTANKONYVELLATAS add constraint FK_402509602_402509600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_INGYENESTANKONYVELLATAS add constraint FK_402509605_402509603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TEREMTIPUS add constraint FK_T_21038_4025095 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREMTIPUS add constraint FK_402509302_402509300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREMTIPUS add constraint FK_402509305_402509303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MAGANTANULOSAGOKA add constraint FK_T_21038_4025094 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MAGANTANULOSAGOKA add constraint FK_402509202_402509200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MAGANTANULOSAGOKA add constraint FK_402509205_402509203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENTITYATTRIBUTEHISTORY add constraint FK_4025091_4025089 foreign key (C_ENTITYHISTORYID) references [DBO].T_ENTITYHISTORY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENTITYATTRIBUTEHISTORY add constraint FK_402508002_402508000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENTITYATTRIBUTEHISTORY add constraint FK_402508005_402508003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENTITYHISTORY add constraint FK_402504302_402504300 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ENTITYHISTORY add constraint FK_402504305_402504303 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOBELEPES add constraint FK_4025031_4025029 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOBELEPES add constraint FK_4025187_4025186 foreign key (C_GONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOBELEPES add constraint FK_402502202_402502200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOBELEPES add constraint FK_402502205_402502203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LOG add constraint FK_4024999_4024997 foreign key (C_LEVELID) references [DBO].T_LOGLEVELTYPE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LOG add constraint FK_4025002_4025000 foreign key (C_EVENTTYPEID) references [DBO].T_LOGEVENTTYPE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LOG add constraint FK_402497602_402497600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LOG add constraint FK_402497605_402497603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_AUTOMATICMESSAGES add constraint FK_402365002_402365000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_AUTOMATICMESSAGES add constraint FK_402365005_402365003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILADATOK add constraint FK_3940536_3940534 foreign key (C_EMAILCIMZETTID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILADATOK add constraint FK_3940546_3940544 foreign key (C_KULDOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILADATOK add constraint FK_3940552_3940551 foreign key (C_DIGESTEMAILMESSAGEID) references [DBO].T_DIGESTEMAILMESSAGE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILADATOK add constraint FK_3940555_3940554 foreign key (C_EMAILUZENETID) references [DBO].T_EMAILUZENET (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILADATOK add constraint FK_3941824_3941822 foreign key (C_MESSAGEID) references [DBO].T_MESSAGE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILADATOK add constraint FK_394052702_394052700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILADATOK add constraint FK_394052705_394052703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTEMAILMESSAGE add constraint FK_394046702_394046700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTEMAILMESSAGE add constraint FK_394046705_394046703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILHIBALOG add constraint FK_3940523_3940521 foreign key (C_EMAILUZENETID) references [DBO].T_EMAILUZENET (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILHIBALOG add constraint FK_3940526_3940524 foreign key (C_DIGESTEMAILMESSAGEID) references [DBO].T_DIGESTEMAILMESSAGE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILHIBALOG add constraint FK_394046502_394046500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILHIBALOG add constraint FK_394046505_394046503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTMESSAGEQUEUE add constraint FK_3911929_3911928 foreign key (C_MESSAGEID) references [DBO].T_MESSAGE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTMESSAGEQUEUE add constraint FK_3911948_3911947 foreign key (C_DIGESTMESSAGEID) references [DBO].T_MESSAGE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTMESSAGEQUEUE add constraint FK_3911977_3911975 foreign key (C_RECIPIENTID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTMESSAGEQUEUE add constraint FK_391192002_391192000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIGESTMESSAGEQUEUE add constraint FK_391192005_391192003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SCCARDBEVONASOKA add constraint FK_T_21038_3832194 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCCARDBEVONASOKA add constraint FK_383219002_383219000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCCARDBEVONASOKA add constraint FK_383219005_383219003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MEGYE add constraint FK_T_21038_3715847 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MEGYE add constraint FK_371584602_371584600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MEGYE add constraint FK_371584605_371584603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMPARAMETERVALUE add constraint FK_3558961_3558960 foreign key (C_SYSTEMPARAMETERID) references [DBO].T_SYSTEMPARAMETER (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMPARAMETERVALUE add constraint FK_355895802_355895800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMPARAMETERVALUE add constraint FK_355895805_355895803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILUZENET add constraint FK_331018802_331018800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILUZENET add constraint FK_331018805_331018803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOBELEPESTORTENET add constraint FK_3195831_3195830 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOBELEPESTORTENET add constraint FK_319582802_319582800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALOBELEPESTORTENET add constraint FK_319582805_319582803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_HONAPOK add constraint FK_T_21038_3044532 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HONAPOK add constraint FK_304453102_304453100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_HONAPOK add constraint FK_304453105_304453103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYMENTTITLE_ROLES add constraint FK_289347002_289347000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYMENTTITLE_ROLES add constraint FK_289347005_289347003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYHIBASTATU add constraint FK_T_21038_2847546 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYHIBASTATU add constraint FK_284754502_284754500 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYHIBASTATU add constraint FK_284754505_284754503 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYTIPUS add constraint FK_T_21038_2846551 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYTIPUS add constraint FK_284654602_284654600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYTIPUS add constraint FK_284654605_284654603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONIMPOSITIONGROUP add constraint FK_276170202_276170200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONIMPOSITIONGROUP add constraint FK_276170205_276170203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONIMPOSITIONGROUP add constraint FK_14059_14052 foreign key (C_IMPOSITIONID) references [DBO].T_IMPOSITION (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONIMPOSITIONGROUP add constraint FK_14071_14052 foreign key (C_IMPOSITIONGROUPID) references [DBO].T_IMPOSITIONGROUP (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SYSTEMPARAMETERTYPE add constraint FK_T_21038_2740820 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMPARAMETERTYPE add constraint FK_274081902_274081900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMPARAMETERTYPE add constraint FK_274081905_274081903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ONLINEUSER add constraint FK_2656867_2656865 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ONLINEUSER add constraint FK_265686402_265686400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ONLINEUSER add constraint FK_265686405_265686403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LOGINLINKS add constraint FK_261224902_261224900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LOGINLINKS add constraint FK_261224905_261224903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LOGINNEWS add constraint FK_261034802_261034800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LOGINNEWS add constraint FK_261034805_261034803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_OTPJELENTESSTATUS add constraint FK_T_21038_2491313 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESSTATUS add constraint FK_249131202_249131200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESSTATUS add constraint FK_249131205_249131203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESEK add constraint FK_248900602_248900600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESEK add constraint FK_248900605_248900603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_OTPJELENTESTIPUS add constraint FK_T_21038_2488607 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESTIPUS add constraint FK_248860602_248860600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESTIPUS add constraint FK_248860605_248860603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_KOZTERULETJELLEG add constraint FK_T_21038_2425121 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KOZTERULETJELLEG add constraint FK_242511902_242511900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KOZTERULETJELLEG add constraint FK_242511905_242511903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_APPOINTMENT add constraint FK_2190524_2190522 foreign key (C_MESSAGEID) references [DBO].T_MESSAGE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_APPOINTMENT add constraint FK_2240663_2240661 foreign key (C_OLDAPPOINTMENTID) references [DBO].T_APPOINTMENT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_APPOINTMENT add constraint FK_218658802_218658800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_APPOINTMENT add constraint FK_218658805_218658803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_BANK add constraint FK_212192502_212192500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_BANK add constraint FK_212192505_212192503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_USERPROFILE add constraint FK_2030097_2030096 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_USERPROFILE add constraint FK_203009402_203009400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_USERPROFILE add constraint FK_203009405_203009403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYSTATUSZ add constraint FK_T_21038_2026498 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYSTATUSZ add constraint FK_202649702_202649700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYSTATUSZ add constraint FK_202649705_202649703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SCSTICKERSTATUS add constraint FK_T_21038_2026496 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTICKERSTATUS add constraint FK_202649402_202649400 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTICKERSTATUS add constraint FK_202649405_202649403 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MUNKAVISZONYJELLEGE add constraint FK_T_21038_1931621 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAVISZONYJELLEGE add constraint FK_193161502_193161500 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MUNKAVISZONYJELLEGE add constraint FK_193161505_193161503 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_KULFOLDISTATUSZTIPUS add constraint FK_T_21038_1768082 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KULFOLDISTATUSZTIPUS add constraint FK_176808002_176808000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_KULFOLDISTATUSZTIPUS add constraint FK_176808005_176808003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_VPOSCONFIG add constraint FK_163886702_163886700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_VPOSCONFIG add constraint FK_163886705_163886703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SMS add constraint FK_1361988_1361986 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SMS add constraint FK_136198502_136198500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SMS add constraint FK_136198505_136198503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_SMSMESSAGESTATUS add constraint FK_T_21038_1364185 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SMSMESSAGESTATUS add constraint FK_136178502_136178500 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SMSMESSAGESTATUS add constraint FK_136178505_136178503 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILESTATU add constraint FK_T_21038_1312031 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILESTATU add constraint FK_131202402_131202400 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILESTATU add constraint FK_131202405_131202403 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ORSZAGTIPUS add constraint FK_T_21038_1291259 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORSZAGTIPUS add constraint FK_129125802_129125800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORSZAGTIPUS add constraint FK_129125805_129125803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_USERNOTIFICATION add constraint FK_4025012_4025010 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_USERNOTIFICATION add constraint FK_125783102_125783100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_USERNOTIFICATION add constraint FK_125783105_125783103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ESEMENYSTATUSZ add constraint FK_T_21038_1257632 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESEMENYSTATUSZ add constraint FK_125763102_125763100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ESEMENYSTATUSZ add constraint FK_125763105_125763103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TRANSACTIONSTATUS add constraint FK_T_21038_1029472 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONSTATUS add constraint FK_102945802_102945800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONSTATUS add constraint FK_102945805_102945803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTUDENTTEMPORARYCARD add constraint FK_99084702_99084700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTUDENTTEMPORARYCARD add constraint FK_99084705_99084703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCAPPLICATIONFORMBATCH add constraint FK_99079202_99079200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCAPPLICATIONFORMBATCH add constraint FK_99079205_99079203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_990795_990794 foreign key (C_SCAPPLICATIONFORMBATCHID) references [DBO].T_SCAPPLICATIONFORMBATCH (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_2843046_2843045 foreign key (C_IMPOSITIONID) references [DBO].T_IMPOSITION (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_2850579_2850578 foreign key (C_ERVENYESIGENYLESID) references [DBO].T_DIAKIGAZOLVANYIGENYLES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_4025785_4025784 foreign key (C_IGENYLOGONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_4025788_4025787 foreign key (C_TANULOID) references [DBO].T_TANULO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_99079102_99079100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DIAKIGAZOLVANYIGENYLES add constraint FK_99079105_99079103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTICKER add constraint FK_990819_990818 foreign key (C_SCCARDID) references [DBO].T_SCCARD (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTICKER add constraint FK_990822_990821 foreign key (C_SCTEMPORARYCARDID) references [DBO].T_SCTEMPORARYCARD (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTICKER add constraint FK_99079002_99079000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCSTICKER add constraint FK_99079005_99079003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCINSET add constraint FK_990826_990824 foreign key (C_SCTEMPORARYCARDID) references [DBO].T_SCTEMPORARYCARD (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCINSET add constraint FK_99078902_99078900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCINSET add constraint FK_99078905_99078903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCTEMPORARYCARD add constraint FK_99078802_99078800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCTEMPORARYCARD add constraint FK_99078805_99078803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCCARD add constraint FK_990817_990815 foreign key (C_DIAKIGAZOLVANYIGENYLESID) references [DBO].T_DIAKIGAZOLVANYIGENYLES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCCARD add constraint FK_99078702_99078700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SCCARD add constraint FK_99078705_99078703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ERRORSTATUS add constraint FK_T_21038_539881 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERRORSTATUS add constraint FK_53988002_53988000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERRORSTATUS add constraint FK_53988005_53988003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_FEETYPE add constraint FK_T_21038_283802 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FEETYPE add constraint FK_28379702_28379700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FEETYPE add constraint FK_28379705_28379703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_PAYMENTTITLETYPE add constraint FK_T_21038_228252 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYMENTTITLETYPE add constraint FK_22824702_22824700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYMENTTITLETYPE add constraint FK_22824705_22824703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_EMAILTIPUS add constraint FK_T_21038_48446 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILTIPUS add constraint FK_4247202_4247200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAILTIPUS add constraint FK_4247205_4247203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_TELEFONTIPUS add constraint FK_T_21038_48448 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TELEFONTIPUS add constraint FK_4165702_4165700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TELEFONTIPUS add constraint FK_4165705_4165703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_PAYINGTYPE add constraint FK_T_21038_48355 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYINGTYPE add constraint FK_3874302_3874300 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYINGTYPE add constraint FK_3874305_3874303 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ALLAMPOLGARSAG add constraint FK_T_21038_48368 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ALLAMPOLGARSAG add constraint FK_3872702_3872700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ALLAMPOLGARSAG add constraint FK_3872705_3872703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_STUDENTCARDSTATUS add constraint FK_T_21038_48328 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_STUDENTCARDSTATUS add constraint FK_3867702_3867700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_STUDENTCARDSTATUS add constraint FK_3867705_3867703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_NATIONALITY add constraint FK_T_21038_48367 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NATIONALITY add constraint FK_3863702_3863700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NATIONALITY add constraint FK_3863705_3863703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_MARITALSTATUS add constraint FK_T_21038_48369 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MARITALSTATUS add constraint FK_3841602_3841600 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MARITALSTATUS add constraint FK_3841605_3841603 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_IMPOSITIONSTATUS add constraint FK_T_21038_48373 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONSTATUS add constraint FK_3840802_3840800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONSTATUS add constraint FK_3840805_3840803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_LANGUAGE add constraint FK_T_21038_48362 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LANGUAGE add constraint FK_3839202_3839200 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_LANGUAGE add constraint FK_3839205_3839203 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_CIMTIPUS add constraint FK_T_21038_48323 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTIPUS add constraint FK_3836902_3836900 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMTIPUS add constraint FK_3836905_3836903 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_NEM add constraint FK_T_21038_48370 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEM add constraint FK_3833002_3833000 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NEM add constraint FK_3833005_3833003 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_BANKACCOUNT add constraint FK_41939_41920 foreign key (C_PARTNERID) references [DBO].T_PARTNER (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_BANKACCOUNT add constraint FK_2121927_2121926 foreign key (C_BANKID) references [DBO].T_BANK (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_BANKACCOUNT add constraint FK_2552902_2552900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_BANKACCOUNT add constraint FK_2552905_2552903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CREDITCARDPAYMENT add constraint FK_2294202_2294200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CREDITCARDPAYMENT add constraint FK_2294205_2294203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CREDITCARDREPLY add constraint FK_22943_22935 foreign key (C_CREDITCARDPAYMENTID) references [DBO].T_CREDITCARDPAYMENT (ID)
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_CREDITCARDREPLY' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_22935 ON T_CREDITCARDREPLY (C_CREDITCARDPAYMENTID, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_CREDITCARDREPLY' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_22935 ON T_CREDITCARDREPLY (C_CREDITCARDPAYMENTID, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_22935 ON T_CREDITCARDREPLY (C_CREDITCARDPAYMENTID) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CREDITCARDREPLY add constraint FK_2288702_2288700 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CREDITCARDREPLY add constraint FK_2288705_2288703 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMPARAMETER add constraint FK_2107902_2107900 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SYSTEMPARAMETER add constraint FK_2107905_2107903 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DICTIONARYITEMBASE add constraint FK_2103802_2103800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_DICTIONARYITEMBASE add constraint FK_2103805_2103803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TELEFON add constraint FK_4025221_4025219 foreign key (C_GONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TELEFON add constraint FK_4025236_4025234 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TELEFON add constraint FK_2077502_2077500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TELEFON add constraint FK_2077505_2077503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_FORMTYPE add constraint FK_T_21038_4025014 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FORMTYPE add constraint FK_1546802_1546800 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FORMTYPE add constraint FK_1546805_1546803 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FORMS add constraint FK_1540402_1540400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FORMS add constraint FK_1540405_1540403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONSHAREDRULES add constraint FK_304425_304424 foreign key (C_RULEPAYEDBYPARTNERID) references [DBO].T_PARTNER (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONSHAREDRULES add constraint FK_1541032_1541030 foreign key (C_RULEPAYERBANKACCOUNTID) references [DBO].T_BANKACCOUNT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONSHAREDRULES add constraint FK_1429802_1429800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONSHAREDRULES add constraint FK_1429805_1429803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONGROUP add constraint FK_1404402_1404400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONGROUP add constraint FK_1404405_1404403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FINANCIALCODE add constraint FK_1331002_1331000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FINANCIALCODE add constraint FK_1331005_1331003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FEE add constraint FK_1324502_1324500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FEE add constraint FK_1324505_1324503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZEREPKOR add constraint FK_1309202_1309200 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_SZEREPKOR add constraint FK_1309205_1309203 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_STUDENTCARDTYPE add constraint FK_T_21038_48470 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_STUDENTCARDTYPE add constraint FK_1167102_1167100 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_STUDENTCARDTYPE add constraint FK_1167105_1167103 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIM add constraint FK_4025168_4025166 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIM add constraint FK_4025184_4025183 foreign key (C_GONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIM add constraint FK_1109402_1109400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIM add constraint FK_1109405_1109403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_29041_29034 foreign key (C_TRANSACTIONANALYSISFILELINEI) references [DBO].T_TRANSACTIONANALYSISFILELINE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_33441_33434 foreign key (C_CREDITCARDPAYMENTID) references [DBO].T_CREDITCARDPAYMENT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_42854_34309 foreign key (C_IMPOSITIONID) references [DBO].T_IMPOSITION (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_34383_34376 foreign key (C_BASETRANSACTIONID) references [DBO].T_TRANSACTION (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_1204064_1204063 foreign key (C_CHILDIMPOSITIONID) references [DBO].T_IMPOSITION (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_4026159_4026158 foreign key (C_BEFIZETOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_1073502_1073500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTION add constraint FK_1073505_1073503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PARTNER add constraint FK_1068502_1068500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PARTNER add constraint FK_1068505_1068503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
alter table [DBO].T_ERRORTYPE add constraint FK_T_21038_48468 foreign key (ID, C_ALINTEZMENYID, C_ALTANEVID) references [DBO].T_DICTIONARYITEMBASE (ID, C_INTEZMENYID, C_TANEVID)
|
|
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERRORTYPE add constraint FK_1047702_1047700 foreign key (C_ALINTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ERRORTYPE add constraint FK_1047705_1047703 foreign key (C_ALTANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAIL add constraint FK_4025224_4025222 foreign key (C_GONDVISELOID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAIL add constraint FK_4025239_4025237 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAIL add constraint FK_987602_987600 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EMAIL add constraint FK_987605_987603 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO add constraint FK_893502_893500 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO add constraint FK_893505_893503 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PERSONMESSAGE add constraint FK_2885169_2885168 foreign key (C_RECEIVEDSMSID) references [DBO].T_SMS (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PERSONMESSAGE add constraint FK_3310226_3310224 foreign key (C_EMAILUZENETID) references [DBO].T_EMAILUZENET (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PERSONMESSAGE add constraint FK_4023669_4023667 foreign key (C_AUTOMATICMESSAGESID) references [DBO].T_AUTOMATICMESSAGES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PERSONMESSAGE add constraint FK_881102_881100 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PERSONMESSAGE add constraint FK_881105_881103 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PERSONMESSAGE add constraint FK_32236_32229 foreign key (C_RECIPIENTID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PERSONMESSAGE add constraint FK_32249_32229 foreign key (C_RECEIVEDMESSAGEID) references [DBO].T_MESSAGE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MESSAGE add constraint FK_32284_32262 foreign key (C_SENDERID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MESSAGE add constraint FK_880002_880000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_MESSAGE add constraint FK_880005_880003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYMENTTITLE add constraint FK_821402_821400 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_PAYMENTTITLE add constraint FK_821405_821403 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILELINE add constraint FK_36925_8127 foreign key (C_TRANSACTIONANALYSISFILEID) references [DBO].T_TRANSACTIONANALYSISFILE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILELINE add constraint FK_813302_813300 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILELINE add constraint FK_813305_813303 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILE add constraint FK_813002_813000 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TRANSACTIONANALYSISFILE add constraint FK_813005_813003 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_42874_42867 foreign key (C_HEADID) references [DBO].T_IMPOSITION (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_303939_303937 foreign key (C_PAYERPARTNERID) references [DBO].T_PARTNER (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_1503618_1503617 foreign key (C_PAYERBANKACCOUNTID) references [DBO].T_BANKACCOUNT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_2110108_2110107 foreign key (C_FEEID) references [DBO].T_FEE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_3380714_3380712 foreign key (C_LATEIMPOSITIONID) references [DBO].T_IMPOSITION (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_4026153_4026152 foreign key (C_LETREHOZOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_4026156_4026155 foreign key (C_BEFIZETESREKOTELEZETTFELHASZ) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_810802_810800 foreign key (C_INTEZMENYID) references [DBO].T_INTEZMENY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITION add constraint FK_810805_810803 foreign key (C_TANEVID) references [DBO].T_TANEV (ID)
|
|
GO
|
|
--/*kapcsoló tábla FK*/
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTFELHASZNALOK_HOZZARE add constraint FK_4026225_4026224 foreign key (C_JOGOSULTFELHASZNALOKID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTFELHASZNALOK_HOZZARE add constraint FK_4026226_4026224 foreign key (C_HOZZARENDELTDOKSIKID) references [DBO].T_IKTATOTTDOKUMENTUMOK (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTGONDVISELOK_HOZZAREN add constraint FK_4026216_4026215 foreign key (C_JOGOSULTGONDVISELOKID) references [DBO].T_GONDVISELO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTGONDVISELOK_HOZZAREN add constraint FK_4026217_4026215 foreign key (C_HOZZARENDELTDOKSIKID) references [DBO].T_IKTATOTTDOKUMENTUMOK (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTSAG_FELHASZNALO add constraint FK_4026194_4026193 foreign key (C_JOGOSULTSAGID) references [DBO].T_JOGOSULTSAG (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_JOGOSULTSAG_FELHASZNALO add constraint FK_4026195_4026193 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EVFOLYAMTIPUS_OKTATASINEVELE add constraint FK_4026013_4026012 foreign key (C_EVFOLYAMTIPUSID,C_INTEZMENYID, C_TANEVID) references [DBO].T_EVFOLYAMTIPUS (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_EVFOLYAMTIPUS_OKTATASINEVELE add constraint FK_4026014_4026012 foreign key (C_OKTATASINEVELESIFELADATID,C_INTEZMENYID, C_TANEVID) references [DBO].T_OKTATASINEVELESIFELADAT (ID, C_ALINTEZMENYID, C_ALTANEVID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM_TANARITANTARGY add constraint FK_4025951_4025950 foreign key (C_TEREMID) references [DBO].T_TEREM (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM_TANARITANTARGY add constraint FK_4025952_4025950 foreign key (C_TANARITANTARGYID) references [DBO].T_TANARITANTARGY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM_FOGLALKOZAS add constraint FK_4025948_4025947 foreign key (C_TEREMID) references [DBO].T_TEREM (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TEREM_FOGLALKOZAS add constraint FK_4025949_4025947 foreign key (C_FOGLALKOZASID) references [DBO].T_FOGLALKOZAS (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSATOLTFELHASZNALOK_CSATOLTJ add constraint FK_4025919_4025918 foreign key (C_CSATOLTFELHASZNALOKID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSATOLTFELHASZNALOK_CSATOLTJ add constraint FK_4025920_4025918 foreign key (C_CSATOLTJOGYAKORLATOKID) references [DBO].T_JOGYAKORLAT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TERMEK_JOGYAKORLATOK add constraint FK_4025913_4025912 foreign key (C_TERMEKID) references [DBO].T_TEREM (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_TERMEK_JOGYAKORLATOK add constraint FK_4025914_4025912 foreign key (C_JOGYAKORLATOKID) references [DBO].T_JOGYAKORLAT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RESZTVEVOK_TEVEKENYSEGEK add constraint FK_4025859_4025858 foreign key (C_RESZTVEVOKID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_RESZTVEVOK_TEVEKENYSEGEK add constraint FK_4025860_4025858 foreign key (C_TEVEKENYSEGEKID) references [DBO].T_TEVEKENYSEG (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP_TEVEKENYSEG add constraint FK_4025847_4025846 foreign key (C_NAPTARINAPID) references [DBO].T_NAPTARINAP (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_NAPTARINAP_TEVEKENYSEG add constraint FK_4025848_4025846 foreign key (C_TEVEKENYSEGID) references [DBO].T_TEVEKENYSEG (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMZETT_FALIUJSAGBEJEGYZES add constraint FK_4025832_4025831 foreign key (C_CIMZETTID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CIMZETT_FALIUJSAGBEJEGYZES add constraint FK_4025833_4025831 foreign key (C_FALIUJSAGBEJEGYZESID) references [DBO].T_FALIUJSAGBEJEGYZES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT_FALIUJSAGBEJE add constraint FK_4025829_4025828 foreign key (C_OSZTALYCSOPORTID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT_FALIUJSAGBEJE add constraint FK_4025830_4025828 foreign key (C_FALIUJSAGBEJEGYZESID) references [DBO].T_FALIUJSAGBEJEGYZES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORAK_TANAROK add constraint FK_4025632_4025631 foreign key (C_ORAKID) references [DBO].T_TANITASIORA (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_ORAK_TANAROK add constraint FK_4025633_4025631 foreign key (C_TANAROKID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT_TANEVRENDJE add constraint FK_4025514_4025513 foreign key (C_OSZTALYCSOPORTID) references [DBO].T_OSZTALYCSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OSZTALYCSOPORT_TANEVRENDJE add constraint FK_4025515_4025513 foreign key (C_TANEVRENDJEID) references [DBO].T_TANEVRENDJE (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZASOK_TANAROK add constraint FK_4025436_4025435 foreign key (C_FOGLALKOZASOKID) references [DBO].T_FOGLALKOZAS (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FOGLALKOZASOK_TANAROK add constraint FK_4025437_4025435 foreign key (C_TANAROKID) references [DBO].T_ALKALMAZOTT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORTOK_OSZTALYOK add constraint FK_4025317_4025316 foreign key (C_CSOPORTOKID) references [DBO].T_CSOPORT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_CSOPORTOK_OSZTALYOK add constraint FK_4025318_4025316 foreign key (C_OSZTALYOKID) references [DBO].T_OSZTALY (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO_SZEREPKOR add constraint FK_4025054_4025053 foreign key (C_FELHASZNALOID) references [DBO].T_FELHASZNALO (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_FELHASZNALO_SZEREPKOR add constraint FK_4025055_4025053 foreign key (C_SZEREPKORID) references [DBO].T_SZEREPKOR (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESEK_BANKACCOUNT add constraint FK_2489008_2489007 foreign key (C_OTPJELENTESEKID) references [DBO].T_OTPJELENTESEK (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_OTPJELENTESEK_BANKACCOUNT add constraint FK_2489009_2489007 foreign key (C_BANKACCOUNTID) references [DBO].T_BANKACCOUNT (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONSHAREDRULES_PAYMEN add constraint FK_644633_644632 foreign key (C_IMPOSITIONSHAREDRULESID) references [DBO].T_IMPOSITIONSHAREDRULES (ID)
|
|
GO
|
|
|
|
|
|
alter table [DBO].T_IMPOSITIONSHAREDRULES_PAYMEN add constraint FK_644634_644632 foreign key (C_PAYMENTTITLEID) references [DBO].T_PAYMENTTITLE (ID)
|
|
GO
|
|
|
|
--/*Entitások check constraintjei CK*/
|
|
|
|
--/*Entitások unique constraintjei UK*/
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_INTEZMENY' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4026246 ON T_INTEZMENY (C_AZONOSITO, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_INTEZMENY' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4026246 ON T_INTEZMENY (C_AZONOSITO, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4026246 ON T_INTEZMENY (C_AZONOSITO) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_ORATERV' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025996 ON T_ORATERV (C_NEV, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_ORATERV' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025996 ON T_ORATERV (C_NEV, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025996 ON T_ORATERV (C_NEV) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_CSENGETESIREND' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025457_4026183 ON T_CSENGETESIREND (C_AKTIV, C_NEV, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_CSENGETESIREND' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025457_4026183 ON T_CSENGETESIREND (C_AKTIV, C_NEV, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025457_4026183 ON T_CSENGETESIREND (C_AKTIV, C_NEV) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_TANTARGY' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025402 ON T_TANTARGY (C_NEV, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_TANTARGY' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025402 ON T_TANTARGY (C_NEV, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025402 ON T_TANTARGY (C_NEV) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_TANTERV' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025398 ON T_TANTERV (C_NEV, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_TANTERV' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025398 ON T_TANTERV (C_NEV, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025398 ON T_TANTERV (C_NEV) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_MUKODESIHELY' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025200 ON T_MUKODESIHELY (C_NEV, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_MUKODESIHELY' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025200 ON T_MUKODESIHELY (C_NEV, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025200 ON T_MUKODESIHELY (C_NEV) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_FELHASZNALOBELEPES' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025364 ON T_FELHASZNALOBELEPES (C_BEJELENTKEZESINEV, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_FELHASZNALOBELEPES' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025364 ON T_FELHASZNALOBELEPES (C_BEJELENTKEZESINEV, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_4025364 ON T_FELHASZNALOBELEPES (C_BEJELENTKEZESINEV) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_SCAPPLICATIONFORMBATCH' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_993595 ON T_SCAPPLICATIONFORMBATCH (C_SERIALNUMBER, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_SCAPPLICATIONFORMBATCH' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_993595 ON T_SCAPPLICATIONFORMBATCH (C_SERIALNUMBER, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_993595 ON T_SCAPPLICATIONFORMBATCH (C_SERIALNUMBER) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_SCINSET' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_991495 ON T_SCINSET (C_SERIALNUMBER, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_SCINSET' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_991495 ON T_SCINSET (C_SERIALNUMBER, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_991495 ON T_SCINSET (C_SERIALNUMBER) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_SCTEMPORARYCARD' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_991695 ON T_SCTEMPORARYCARD (C_SERIALNUMBER, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_SCTEMPORARYCARD' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_991695 ON T_SCTEMPORARYCARD (C_SERIALNUMBER, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_991695 ON T_SCTEMPORARYCARD (C_SERIALNUMBER) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_SCCARD' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_993095 ON T_SCCARD (C_SERIALNUMBER, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_SCCARD' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_993095 ON T_SCCARD (C_SERIALNUMBER, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_993095 ON T_SCCARD (C_SERIALNUMBER) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|
|
IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_DICTIONARYITEMBASE' AND COLUMN_NAME = 'C_INTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_41498_3561258 ON T_DICTIONARYITEMBASE (C_NAME, C_TYPE, C_INTEZMENYID, C_TANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE IF (SELECT COUNT(1)
|
|
FROM INFORMATION_SCHEMA.COLUMNS
|
|
WHERE TABLE_NAME = N'T_DICTIONARYITEMBASE' AND COLUMN_NAME = 'C_ALINTEZMENYID'
|
|
) > 0
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_41498_3561258 ON T_DICTIONARYITEMBASE (C_NAME, C_TYPE, C_ALINTEZMENYID, C_ALTANEVID) WHERE TOROLT = 'F'
|
|
END
|
|
ELSE
|
|
BEGIN
|
|
CREATE UNIQUE INDEX UK_41498_3561258 ON T_DICTIONARYITEMBASE (C_NAME, C_TYPE) WHERE TOROLT = 'F'
|
|
END
|
|
GO
|