﻿GO
SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON;

SET NUMERIC_ROUNDABORT OFF;


GO
PRINT N'Dropping [dbo].[FK_4027915_4027916]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] DROP CONSTRAINT [FK_4027915_4027916];


GO
PRINT N'Dropping [dbo].[FK_4027915_4027917]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] DROP CONSTRAINT [FK_4027915_4027917];


GO
PRINT N'Dropping [dbo].[FK_4027915_4028466]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] DROP CONSTRAINT [FK_4027915_4028466];


GO
PRINT N'Dropping [dbo].[FK_4027923_4027921]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] DROP CONSTRAINT [FK_4027923_4027921];


GO
PRINT N'Dropping [dbo].[FK_402791502_402791500]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] DROP CONSTRAINT [FK_402791502_402791500];


GO
PRINT N'Dropping [dbo].[FK_402791505_402791503]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] DROP CONSTRAINT [FK_402791505_402791503];


GO
PRINT N'Dropping [dbo].[FK_4025130_4025128]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_4025130_4025128];


GO
PRINT N'Dropping [dbo].[FK_4025281_4025280]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_4025281_4025280];


GO
PRINT N'Dropping [dbo].[FK_402509802_402509800]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_402509802_402509800];


GO
PRINT N'Dropping [dbo].[FK_402509805_402509803]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_402509805_402509803];


GO
PRINT N'Dropping [dbo].[FK_4025098_4025109]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_4025098_4025109];


GO
PRINT N'Dropping [dbo].[FK_4025098_4025119]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_4025098_4025119];


GO
PRINT N'Dropping [dbo].[FK_4025098_4025247]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_4025098_4025247];


GO
PRINT N'Dropping [dbo].[FK_4025098_4025248]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_4025098_4025248];


GO
PRINT N'Dropping [dbo].[FK_4025098_4025249]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] DROP CONSTRAINT [FK_4025098_4025249];


GO
PRINT N'Dropping [dbo].[FK_3911977_3911975]...';


GO
ALTER TABLE [dbo].[T_DIGESTMESSAGEQUEUE] DROP CONSTRAINT [FK_3911977_3911975];


GO
PRINT N'Dropping [dbo].[FK_4026978_4026976]...';


GO
ALTER TABLE [dbo].[T_HIBAJEGY] DROP CONSTRAINT [FK_4026978_4026976];


GO
PRINT N'Dropping [dbo].[FK_2030097_2030096]...';


GO
ALTER TABLE [dbo].[T_USERPROFILE] DROP CONSTRAINT [FK_2030097_2030096];


GO
PRINT N'Dropping [dbo].[FK_4026303_4026302]...';


GO
ALTER TABLE [dbo].[T_FALIUJSAGBEJEGYZES] DROP CONSTRAINT [FK_4026303_4026302];


GO
PRINT N'Dropping [dbo].[FK_4026691_4026690]...';


GO
ALTER TABLE [dbo].[T_HELYETTESITESIIDOSZAK] DROP CONSTRAINT [FK_4026691_4026690];


GO
PRINT N'Dropping [dbo].[FK_4026315_4026314]...';


GO
ALTER TABLE [dbo].[T_TANITASIORA] DROP CONSTRAINT [FK_4026315_4026314];


GO
PRINT N'Dropping [dbo].[FK_4028123_4028121]...';


GO
ALTER TABLE [dbo].[T_HAZIFELADATOK] DROP CONSTRAINT [FK_4028123_4028121];


GO
PRINT N'Dropping [dbo].[FK_4028276_4028274]...';


GO
ALTER TABLE [dbo].[T_HAZIFELADATOK] DROP CONSTRAINT [FK_4028276_4028274];


GO
PRINT N'Dropping [dbo].[FK_4026153_4026152]...';


GO
ALTER TABLE [dbo].[T_IMPOSITION] DROP CONSTRAINT [FK_4026153_4026152];


GO
PRINT N'Dropping [dbo].[FK_4026156_4026155]...';


GO
ALTER TABLE [dbo].[T_IMPOSITION] DROP CONSTRAINT [FK_4026156_4026155];


GO
PRINT N'Dropping [dbo].[FK_4028293_4028291]...';


GO
ALTER TABLE [dbo].[T_VEGZETTSEG] DROP CONSTRAINT [FK_4028293_4028291];


GO
PRINT N'Dropping [dbo].[FK_4025810_4025808]...';


GO
ALTER TABLE [dbo].[T_PEDAGOGUSELETPALYAMODELL] DROP CONSTRAINT [FK_4025810_4025808];


GO
PRINT N'Dropping [dbo].[FK_4028282_4028280]...';


GO
ALTER TABLE [dbo].[T_TANULOHAZIFELADAT] DROP CONSTRAINT [FK_4028282_4028280];


GO
PRINT N'Dropping [dbo].[FK_4028107_4028105]...';


GO
ALTER TABLE [dbo].[T_ELEARNING] DROP CONSTRAINT [FK_4028107_4028105];


GO
PRINT N'Dropping [dbo].[FK_3195831_3195830]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPESTORTENET] DROP CONSTRAINT [FK_3195831_3195830];


GO
PRINT N'Dropping [dbo].[FK_4025971_4025969]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOERTESITESBEALLITA] DROP CONSTRAINT [FK_4025971_4025969];


GO
PRINT N'Dropping [dbo].[FK_4026225_4026224]...';


GO
ALTER TABLE [dbo].[T_JOGOSULTFELHASZNALOK_HOZZARE] DROP CONSTRAINT [FK_4026225_4026224];


GO
PRINT N'Dropping [dbo].[FK_4028268_4028266]...';


GO
ALTER TABLE [dbo].[T_UZENETCIMZETT] DROP CONSTRAINT [FK_4028268_4028266];


GO
PRINT N'Dropping [dbo].[FK_4026228_4026227]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] DROP CONSTRAINT [FK_4026228_4026227];


GO
PRINT N'Dropping [dbo].[FK_4026231_4026230]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] DROP CONSTRAINT [FK_4026231_4026230];


GO
PRINT N'Dropping [dbo].[FK_4026195_4026193]...';


GO
ALTER TABLE [dbo].[T_JOGOSULTSAG_FELHASZNALO] DROP CONSTRAINT [FK_4026195_4026193];


GO
PRINT N'Dropping [dbo].[FK_4028589_4028587]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUM] DROP CONSTRAINT [FK_4028589_4028587];


GO
PRINT N'Dropping [dbo].[FK_1361988_1361986]...';


GO
ALTER TABLE [dbo].[T_SMS] DROP CONSTRAINT [FK_1361988_1361986];


GO
PRINT N'Dropping [dbo].[FK_4025919_4025918]...';


GO
ALTER TABLE [dbo].[T_CSATOLTFELHASZNALOK_CSATOLTJ] DROP CONSTRAINT [FK_4025919_4025918];


GO
PRINT N'Dropping [dbo].[FK_4025859_4025858]...';


GO
ALTER TABLE [dbo].[T_RESZTVEVOK_TEVEKENYSEGEK] DROP CONSTRAINT [FK_4025859_4025858];


GO
PRINT N'Dropping [dbo].[FK_4028264_4028263]...';


GO
ALTER TABLE [dbo].[T_UZENET] DROP CONSTRAINT [FK_4028264_4028263];


GO
PRINT N'Dropping [dbo].[FK_4025832_4025831]...';


GO
ALTER TABLE [dbo].[T_CIMZETT_FALIUJSAGBEJEGYZES] DROP CONSTRAINT [FK_4025832_4025831];


GO
PRINT N'Dropping [dbo].[FK_4026300_4026299]...';


GO
ALTER TABLE [dbo].[T_TANULOKOZOSSEGISZOLGALAT] DROP CONSTRAINT [FK_4026300_4026299];


GO
PRINT N'Dropping [dbo].[FK_4026306_4026305]...';


GO
ALTER TABLE [dbo].[T_NAPLOELLENORZES] DROP CONSTRAINT [FK_4026306_4026305];


GO
PRINT N'Dropping [dbo].[FK_4025168_4025166]...';


GO
ALTER TABLE [dbo].[T_CIM] DROP CONSTRAINT [FK_4025168_4025166];


GO
PRINT N'Dropping [dbo].[FK_4026688_4026687]...';


GO
ALTER TABLE [dbo].[T_NEMKOTOTTMUNKAIDO] DROP CONSTRAINT [FK_4026688_4026687];


GO
PRINT N'Dropping [dbo].[FK_4026329_4026328]...';


GO
ALTER TABLE [dbo].[T_ORARENDIORA] DROP CONSTRAINT [FK_4026329_4026328];


GO
PRINT N'Dropping [dbo].[FK_4025054_4025053]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO_SZEREPKOR] DROP CONSTRAINT [FK_4025054_4025053];


GO
PRINT N'Dropping [dbo].[FK_4026159_4026158]...';


GO
ALTER TABLE [dbo].[T_TRANSACTION] DROP CONSTRAINT [FK_4026159_4026158];


GO
PRINT N'Dropping [dbo].[FK_4025012_4025010]...';


GO
ALTER TABLE [dbo].[T_USERNOTIFICATION] DROP CONSTRAINT [FK_4025012_4025010];


GO
PRINT N'Dropping [dbo].[FK_T_8935_4025190]...';


GO
ALTER TABLE [dbo].[T_TANULO] DROP CONSTRAINT [FK_T_8935_4025190];


GO
PRINT N'Dropping [dbo].[FK_4028520_4028518]...';


GO
ALTER TABLE [dbo].[T_JELSZOMODOSITASLINK] DROP CONSTRAINT [FK_4028520_4028518];


GO
PRINT N'Dropping [dbo].[FK_4025031_4025029]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] DROP CONSTRAINT [FK_4025031_4025029];


GO
PRINT N'Dropping [dbo].[FK_2656867_2656865]...';


GO
ALTER TABLE [dbo].[T_ONLINEUSER] DROP CONSTRAINT [FK_2656867_2656865];


GO
PRINT N'Dropping [dbo].[FK_4025239_4025237]...';


GO
ALTER TABLE [dbo].[T_EMAIL] DROP CONSTRAINT [FK_4025239_4025237];


GO
PRINT N'Dropping [dbo].[FK_8935_9951]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] DROP CONSTRAINT [FK_8935_9951];


GO
PRINT N'Dropping [dbo].[FK_8935_32780]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] DROP CONSTRAINT [FK_8935_32780];


GO
PRINT N'Dropping [dbo].[FK_8935_41892]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] DROP CONSTRAINT [FK_8935_41892];


GO
PRINT N'Dropping [dbo].[FK_8935_4025149]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] DROP CONSTRAINT [FK_8935_4025149];


GO
PRINT N'Dropping [dbo].[FK_8935_4025151]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] DROP CONSTRAINT [FK_8935_4025151];


GO
PRINT N'Dropping [dbo].[FK_8935_4026210]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] DROP CONSTRAINT [FK_8935_4026210];


GO
PRINT N'Dropping [dbo].[FK_893502_893500]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] DROP CONSTRAINT [FK_893502_893500];


GO
PRINT N'Dropping [dbo].[FK_893505_893503]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] DROP CONSTRAINT [FK_893505_893503];


GO
PRINT N'Dropping [dbo].[FK_4025472_4025470]...';


GO
ALTER TABLE [dbo].[T_CIMTARCSOPORT] DROP CONSTRAINT [FK_4025472_4025470];


GO
PRINT N'Dropping [dbo].[FK_4025469_4025467]...';


GO
ALTER TABLE [dbo].[T_CIMTAR] DROP CONSTRAINT [FK_4025469_4025467];


GO
PRINT N'Dropping [dbo].[FK_32236_32229]...';


GO
ALTER TABLE [dbo].[T_PERSONMESSAGE] DROP CONSTRAINT [FK_32236_32229];


GO
PRINT N'Dropping [dbo].[FK_T_8935_4025165]...';


GO
ALTER TABLE [dbo].[T_ALKALMAZOTT] DROP CONSTRAINT [FK_T_8935_4025165];


GO
PRINT N'Dropping [dbo].[FK_4028341_4028340]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENER] DROP CONSTRAINT [FK_4028341_4028340];


GO
PRINT N'Dropping [dbo].[FK_3940536_3940534]...';


GO
ALTER TABLE [dbo].[T_EMAILADATOK] DROP CONSTRAINT [FK_3940536_3940534];


GO
PRINT N'Dropping [dbo].[FK_3940546_3940544]...';


GO
ALTER TABLE [dbo].[T_EMAILADATOK] DROP CONSTRAINT [FK_3940546_3940544];


GO
PRINT N'Dropping [dbo].[FK_32284_32262]...';


GO
ALTER TABLE [dbo].[T_MESSAGE] DROP CONSTRAINT [FK_32284_32262];


GO
PRINT N'Dropping [dbo].[FK_4026050_4026049]...';


GO
ALTER TABLE [dbo].[T_OLDALLATOGATOTTSAG] DROP CONSTRAINT [FK_4026050_4026049];


GO
PRINT N'Dropping [dbo].[FK_4025236_4025234]...';


GO
ALTER TABLE [dbo].[T_TELEFON] DROP CONSTRAINT [FK_4025236_4025234];


GO
PRINT N'Dropping [dbo].[FK_4025881_4025879]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOERTESITES] DROP CONSTRAINT [FK_4025881_4025879];


GO
PRINT N'Dropping [dbo].[FK_4028152_4028151]...';


GO
ALTER TABLE [dbo].[T_JELSZOVISSZAALLITAS] DROP CONSTRAINT [FK_4028152_4028151];


GO
PRINT N'Dropping [dbo].[FK_4025187_4025186]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] DROP CONSTRAINT [FK_4025187_4025186];


GO
PRINT N'Dropping [dbo].[FK_402502202_402502200]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] DROP CONSTRAINT [FK_402502202_402502200];


GO
PRINT N'Dropping [dbo].[FK_402502205_402502203]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] DROP CONSTRAINT [FK_402502205_402502203];


GO
PRINT N'Dropping [dbo].[FK_4026116_4026121]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026116_4026121];


GO
PRINT N'Dropping [dbo].[FK_4026116_4026122]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026116_4026122];


GO
PRINT N'Dropping [dbo].[FK_4026116_4026343]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026116_4026343];


GO
PRINT N'Dropping [dbo].[FK_4026116_4026352]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026116_4026352];


GO
PRINT N'Dropping [dbo].[FK_4026116_4026365]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026116_4026365];


GO
PRINT N'Dropping [dbo].[FK_4026116_4027631]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026116_4027631];


GO
PRINT N'Dropping [dbo].[FK_4026116_4027635]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026116_4027635];


GO
PRINT N'Dropping [dbo].[FK_4026125_4026124]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026125_4026124];


GO
PRINT N'Dropping [dbo].[FK_4026129_4026127]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_4026129_4026127];


GO
PRINT N'Dropping [dbo].[FK_402611602_402611600]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_402611602_402611600];


GO
PRINT N'Dropping [dbo].[FK_402611605_402611603]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] DROP CONSTRAINT [FK_402611605_402611603];


GO
PRINT N'Dropping [dbo].[FK_4026014_4026012]...';


GO
ALTER TABLE [dbo].[T_EVFOLYAMTIPUS_OKTATASINEVELE] DROP CONSTRAINT [FK_4026014_4026012];


GO
PRINT N'Dropping [dbo].[FK_T_21038_4025391]...';


GO
ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] DROP CONSTRAINT [FK_T_21038_4025391];


GO
PRINT N'Dropping [dbo].[FK_402537602_402537600]...';


GO
ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] DROP CONSTRAINT [FK_402537602_402537600];


GO
PRINT N'Dropping [dbo].[FK_402537605_402537603]...';


GO
ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] DROP CONSTRAINT [FK_402537605_402537603];


GO
PRINT N'Dropping [dbo].[FK_4026010_4026011]...';


GO
ALTER TABLE [dbo].[T_FELADATELLATASIHELY] DROP CONSTRAINT [FK_4026010_4026011];


GO
PRINT N'Dropping [dbo].[FK_4028139_4028138]...';


GO
ALTER TABLE [dbo].[T_HITTANADATSZOLGALTATAS] DROP CONSTRAINT [FK_4028139_4028138];


GO
PRINT N'Dropping [dbo].[FK_4025668_4025666]...';


GO
ALTER TABLE [dbo].[T_TANULOERTEKELES] DROP CONSTRAINT [FK_4025668_4025666];


GO
PRINT N'Dropping [dbo].[FK_4028462_4028461]...';


GO
ALTER TABLE [dbo].[T_TANULOERTEKELES] DROP CONSTRAINT [FK_4028462_4028461];


GO
PRINT N'Dropping [dbo].[FK_4025638_4025637]...';


GO
ALTER TABLE [dbo].[T_TANITASIORA] DROP CONSTRAINT [FK_4025638_4025637];


GO
PRINT N'Dropping [dbo].[FK_4028126_4028124]...';


GO
ALTER TABLE [dbo].[T_HAZIFELADATOK] DROP CONSTRAINT [FK_4028126_4028124];


GO
PRINT N'Dropping [dbo].[FK_4025431_4025429]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZAS] DROP CONSTRAINT [FK_4025431_4025429];


GO
PRINT N'Dropping [dbo].[FK_T_4025296_4025339]...';


GO
ALTER TABLE [dbo].[T_CSOPORT] DROP CONSTRAINT [FK_T_4025296_4025339];


GO
PRINT N'Dropping [dbo].[FK_4027556_4027555]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT_TANULOESEMENY] DROP CONSTRAINT [FK_4027556_4027555];


GO
PRINT N'Dropping [dbo].[FK_4027789_4027787]...';


GO
ALTER TABLE [dbo].[T_OGOSZTALYCSOPORT] DROP CONSTRAINT [FK_4027789_4027787];


GO
PRINT N'Dropping [dbo].[FK_4025599_4025598]...';


GO
ALTER TABLE [dbo].[T_TANMENET] DROP CONSTRAINT [FK_4025599_4025598];


GO
PRINT N'Dropping [dbo].[FK_4025829_4025828]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT_FALIUJSAGBEJE] DROP CONSTRAINT [FK_4025829_4025828];


GO
PRINT N'Dropping [dbo].[FK_4025514_4025513]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT_TANEVRENDJE] DROP CONSTRAINT [FK_4025514_4025513];


GO
PRINT N'Dropping [dbo].[FK_4026324_4026322]...';


GO
ALTER TABLE [dbo].[T_ORARENDIORA] DROP CONSTRAINT [FK_4026324_4026322];


GO
PRINT N'Dropping [dbo].[FK_4025526_4025525]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] DROP CONSTRAINT [FK_4025526_4025525];


GO
PRINT N'Dropping [dbo].[FK_4025296_4025418]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] DROP CONSTRAINT [FK_4025296_4025418];


GO
PRINT N'Dropping [dbo].[FK_4025954_4025953]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] DROP CONSTRAINT [FK_4025954_4025953];


GO
PRINT N'Dropping [dbo].[FK_4026025_4026024]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] DROP CONSTRAINT [FK_4026025_4026024];


GO
PRINT N'Dropping [dbo].[FK_402529602_402529600]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] DROP CONSTRAINT [FK_402529602_402529600];


GO
PRINT N'Dropping [dbo].[FK_402529605_402529603]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] DROP CONSTRAINT [FK_402529605_402529603];


GO
PRINT N'Dropping [dbo].[FK_T_4025296_4025338]...';


GO
ALTER TABLE [dbo].[T_OSZTALY] DROP CONSTRAINT [FK_T_4025296_4025338];


GO
PRINT N'Dropping [dbo].[FK_402755005_402755003]...';


GO
ALTER TABLE [dbo].[T_RESZSZAKKEPESITESTIPUS] DROP CONSTRAINT [FK_402755005_402755003];


GO
PRINT N'Dropping [dbo].[FK_402831405_402831403]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENERELEM] DROP CONSTRAINT [FK_402831405_402831403];


GO
PRINT N'Dropping [dbo].[FK_402717105_402717103]...';


GO
ALTER TABLE [dbo].[T_EPENZTARCAPARAMETEREK] DROP CONSTRAINT [FK_402717105_402717103];


GO
PRINT N'Dropping [dbo].[FK_218658805_218658803]...';


GO
ALTER TABLE [dbo].[T_APPOINTMENT] DROP CONSTRAINT [FK_218658805_218658803];


GO
PRINT N'Dropping [dbo].[FK_402565305_402565303]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMOD] DROP CONSTRAINT [FK_402565305_402565303];


GO
PRINT N'Dropping [dbo].[FK_821405_821403]...';


GO
ALTER TABLE [dbo].[T_PAYMENTTITLE] DROP CONSTRAINT [FK_821405_821403];


GO
PRINT N'Dropping [dbo].[FK_402513805_402513803]...';


GO
ALTER TABLE [dbo].[T_ANYANYELV] DROP CONSTRAINT [FK_402513805_402513803];


GO
PRINT N'Dropping [dbo].[FK_402634205_402634203]...';


GO
ALTER TABLE [dbo].[T_PEDAGOGUSSTATUSZ] DROP CONSTRAINT [FK_402634205_402634203];


GO
PRINT N'Dropping [dbo].[FK_402841605_402841603]...';


GO
ALTER TABLE [dbo].[T_KKNEPZENE] DROP CONSTRAINT [FK_402841605_402841603];


GO
PRINT N'Dropping [dbo].[FK_394046505_394046503]...';


GO
ALTER TABLE [dbo].[T_EMAILHIBALOG] DROP CONSTRAINT [FK_394046505_394046503];


GO
PRINT N'Dropping [dbo].[FK_99078705_99078703]...';


GO
ALTER TABLE [dbo].[T_SCCARD] DROP CONSTRAINT [FK_99078705_99078703];


GO
PRINT N'Dropping [dbo].[FK_402586205_402586203]...';


GO
ALTER TABLE [dbo].[T_ERTESITESSZINTIPUS] DROP CONSTRAINT [FK_402586205_402586203];


GO
PRINT N'Dropping [dbo].[FK_402776105_402776103]...';


GO
ALTER TABLE [dbo].[T_OGINTEZMENYFOGLALTSAG] DROP CONSTRAINT [FK_402776105_402776103];


GO
PRINT N'Dropping [dbo].[FK_402600505_402600503]...';


GO
ALTER TABLE [dbo].[T_KIZAROCSOPORT] DROP CONSTRAINT [FK_402600505_402600503];


GO
PRINT N'Dropping [dbo].[FK_1546805_1546803]...';


GO
ALTER TABLE [dbo].[T_FORMTYPE] DROP CONSTRAINT [FK_1546805_1546803];


GO
PRINT N'Dropping [dbo].[FK_402544005_402544003]...';


GO
ALTER TABLE [dbo].[T_HETIRENDTIPUS] DROP CONSTRAINT [FK_402544005_402544003];


GO
PRINT N'Dropping [dbo].[FK_402754905_402754903]...';


GO
ALTER TABLE [dbo].[T_AGAZATTIPUS] DROP CONSTRAINT [FK_402754905_402754903];


GO
PRINT N'Dropping [dbo].[FK_402831205_402831203]...';


GO
ALTER TABLE [dbo].[T_KIRSZOLGALTATASTIPUS] DROP CONSTRAINT [FK_402831205_402831203];


GO
PRINT N'Dropping [dbo].[FK_212192505_212192503]...';


GO
ALTER TABLE [dbo].[T_BANK] DROP CONSTRAINT [FK_212192505_212192503];


GO
PRINT N'Dropping [dbo].[FK_402565205_402565203]...';


GO
ALTER TABLE [dbo].[T_OSZTALYZATTIPUS] DROP CONSTRAINT [FK_402565205_402565203];


GO
PRINT N'Dropping [dbo].[FK_402513405_402513403]...';


GO
ALTER TABLE [dbo].[T_IGAZOLVANYTIPUS] DROP CONSTRAINT [FK_402513405_402513403];


GO
PRINT N'Dropping [dbo].[FK_402814805_402814803]...';


GO
ALTER TABLE [dbo].[T_JELSZOVISSZAALLITAS] DROP CONSTRAINT [FK_402814805_402814803];


GO
PRINT N'Dropping [dbo].[FK_402633905_402633903]...';


GO
ALTER TABLE [dbo].[T_KRETATIPUS] DROP CONSTRAINT [FK_402633905_402633903];


GO
PRINT N'Dropping [dbo].[FK_402841405_402841403]...';


GO
ALTER TABLE [dbo].[T_KKELEKTROAKUZENE] DROP CONSTRAINT [FK_402841405_402841403];


GO
PRINT N'Dropping [dbo].[FK_391192005_391192003]...';


GO
ALTER TABLE [dbo].[T_DIGESTMESSAGEQUEUE] DROP CONSTRAINT [FK_391192005_391192003];


GO
PRINT N'Dropping [dbo].[FK_53988005_53988003]...';


GO
ALTER TABLE [dbo].[T_ERRORSTATUS] DROP CONSTRAINT [FK_53988005_53988003];


GO
PRINT N'Dropping [dbo].[FK_402583905_402583903]...';


GO
ALTER TABLE [dbo].[T_TEVEKENYSEG] DROP CONSTRAINT [FK_402583905_402583903];


GO
PRINT N'Dropping [dbo].[FK_402600405_402600403]...';


GO
ALTER TABLE [dbo].[T_RENDSZERBEALLITASTIPUS] DROP CONSTRAINT [FK_402600405_402600403];


GO
PRINT N'Dropping [dbo].[FK_402695805_402695803]...';


GO
ALTER TABLE [dbo].[T_HIBAJEGY] DROP CONSTRAINT [FK_402695805_402695803];


GO
PRINT N'Dropping [dbo].[FK_402775105_402775103]...';


GO
ALTER TABLE [dbo].[T_OGGENERATORALAP] DROP CONSTRAINT [FK_402775105_402775103];


GO
PRINT N'Dropping [dbo].[FK_402543905_402543903]...';


GO
ALTER TABLE [dbo].[T_NAPTIPUS] DROP CONSTRAINT [FK_402543905_402543903];


GO
PRINT N'Dropping [dbo].[FK_402754805_402754803]...';


GO
ALTER TABLE [dbo].[T_SZAKMACSOPORTTIPUS] DROP CONSTRAINT [FK_402754805_402754803];


GO
PRINT N'Dropping [dbo].[FK_402830805_402830803]...';


GO
ALTER TABLE [dbo].[T_SZAKTIPUS] DROP CONSTRAINT [FK_402830805_402830803];


GO
PRINT N'Dropping [dbo].[FK_402565105_402565103]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESTIPUS] DROP CONSTRAINT [FK_402565105_402565103];


GO
PRINT N'Dropping [dbo].[FK_402513305_402513303]...';


GO
ALTER TABLE [dbo].[T_MUNKAVISZONYTIPUS] DROP CONSTRAINT [FK_402513305_402513303];


GO
PRINT N'Dropping [dbo].[FK_203009405_203009403]...';


GO
ALTER TABLE [dbo].[T_USERPROFILE] DROP CONSTRAINT [FK_203009405_203009403];


GO
PRINT N'Dropping [dbo].[FK_1540405_1540403]...';


GO
ALTER TABLE [dbo].[T_FORMS] DROP CONSTRAINT [FK_1540405_1540403];


GO
PRINT N'Dropping [dbo].[FK_402813505_402813503]...';


GO
ALTER TABLE [dbo].[T_HITTANADATSZOLGALTATAS] DROP CONSTRAINT [FK_402813505_402813503];


GO
PRINT N'Dropping [dbo].[FK_402841205_402841203]...';


GO
ALTER TABLE [dbo].[T_KKTERULET] DROP CONSTRAINT [FK_402841205_402841203];


GO
PRINT N'Dropping [dbo].[FK_383219005_383219003]...';


GO
ALTER TABLE [dbo].[T_SCCARDBEVONASOKA] DROP CONSTRAINT [FK_383219005_383219003];


GO
PRINT N'Dropping [dbo].[FK_402529305_402529303]...';


GO
ALTER TABLE [dbo].[T_TANTERVIJELLEG] DROP CONSTRAINT [FK_402529305_402529303];


GO
PRINT N'Dropping [dbo].[FK_28379705_28379703]...';


GO
ALTER TABLE [dbo].[T_FEETYPE] DROP CONSTRAINT [FK_28379705_28379703];


GO
PRINT N'Dropping [dbo].[FK_402583805_402583803]...';


GO
ALTER TABLE [dbo].[T_TEVEKENYSEGTIPUS] DROP CONSTRAINT [FK_402583805_402583803];


GO
PRINT N'Dropping [dbo].[FK_402600205_402600203]...';


GO
ALTER TABLE [dbo].[T_ORATERVTARGY] DROP CONSTRAINT [FK_402600205_402600203];


GO
PRINT N'Dropping [dbo].[FK_813305_813303]...';


GO
ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILELINE] DROP CONSTRAINT [FK_813305_813303];


GO
PRINT N'Dropping [dbo].[FK_402753905_402753903]...';


GO
ALTER TABLE [dbo].[T_SZAKKEPESITESTIPUS] DROP CONSTRAINT [FK_402753905_402753903];


GO
PRINT N'Dropping [dbo].[FK_402774605_402774603]...';


GO
ALTER TABLE [dbo].[T_OGOSZTALYCSOPORTFOGLALTSAG] DROP CONSTRAINT [FK_402774605_402774603];


GO
PRINT N'Dropping [dbo].[FK_402830505_402830503]...';


GO
ALTER TABLE [dbo].[T_GIMNAZIUMIEVFOLYAMTIPUS] DROP CONSTRAINT [FK_402830505_402830503];


GO
PRINT N'Dropping [dbo].[FK_402564105_402564103]...';


GO
ALTER TABLE [dbo].[T_TANULOERTEKELES] DROP CONSTRAINT [FK_402564105_402564103];


GO
PRINT N'Dropping [dbo].[FK_402512205_402512203]...';


GO
ALTER TABLE [dbo].[T_TEREM] DROP CONSTRAINT [FK_402512205_402512203];


GO
PRINT N'Dropping [dbo].[FK_202649705_202649703]...';


GO
ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYSTATUSZ] DROP CONSTRAINT [FK_202649705_202649703];


GO
PRINT N'Dropping [dbo].[FK_402629405_402629403]...';


GO
ALTER TABLE [dbo].[T_NAPTARIHET] DROP CONSTRAINT [FK_402629405_402629403];


GO
PRINT N'Dropping [dbo].[FK_402695305_402695303]...';


GO
ALTER TABLE [dbo].[T_HIBAJEGYSTATUSZ] DROP CONSTRAINT [FK_402695305_402695303];


GO
PRINT N'Dropping [dbo].[FK_402840905_402840903]...';


GO
ALTER TABLE [dbo].[T_KKTANARVEGZETTSEG] DROP CONSTRAINT [FK_402840905_402840903];


GO
PRINT N'Dropping [dbo].[FK_371584605_371584603]...';


GO
ALTER TABLE [dbo].[T_MEGYE] DROP CONSTRAINT [FK_371584605_371584603];


GO
PRINT N'Dropping [dbo].[FK_402813305_402813303]...';


GO
ALTER TABLE [dbo].[T_HITTANTIPUS] DROP CONSTRAINT [FK_402813305_402813303];


GO
PRINT N'Dropping [dbo].[FK_402527905_402527903]...';


GO
ALTER TABLE [dbo].[T_TESTNEVELESTIPUS] DROP CONSTRAINT [FK_402527905_402527903];


GO
PRINT N'Dropping [dbo].[FK_22824705_22824703]...';


GO
ALTER TABLE [dbo].[T_PAYMENTTITLETYPE] DROP CONSTRAINT [FK_22824705_22824703];


GO
PRINT N'Dropping [dbo].[FK_402581505_402581503]...';


GO
ALTER TABLE [dbo].[T_FALIUJSAGBEJEGYZES] DROP CONSTRAINT [FK_402581505_402581503];


GO
PRINT N'Dropping [dbo].[FK_402599705_402599703]...';


GO
ALTER TABLE [dbo].[T_RENDSZERBEALLITAS] DROP CONSTRAINT [FK_402599705_402599703];


GO
PRINT N'Dropping [dbo].[FK_1429805_1429803]...';


GO
ALTER TABLE [dbo].[T_IMPOSITIONSHAREDRULES] DROP CONSTRAINT [FK_1429805_1429803];


GO
PRINT N'Dropping [dbo].[FK_402542505_402542503]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZASTIPUS] DROP CONSTRAINT [FK_402542505_402542503];


GO
PRINT N'Dropping [dbo].[FK_813005_813003]...';


GO
ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILE] DROP CONSTRAINT [FK_813005_813003];


GO
PRINT N'Dropping [dbo].[FK_402750405_402750403]...';


GO
ALTER TABLE [dbo].[T_MUKODESIHELYTIPUS] DROP CONSTRAINT [FK_402750405_402750403];


GO
PRINT N'Dropping [dbo].[FK_402829405_402829403]...';


GO
ALTER TABLE [dbo].[T_KEPESITES] DROP CONSTRAINT [FK_402829405_402829403];


GO
PRINT N'Dropping [dbo].[FK_402774505_402774503]...';


GO
ALTER TABLE [dbo].[T_OGFOGLALTSAGTIPUS] DROP CONSTRAINT [FK_402774505_402774503];


GO
PRINT N'Dropping [dbo].[FK_202649405_202649403]...';


GO
ALTER TABLE [dbo].[T_SCSTICKERSTATUS] DROP CONSTRAINT [FK_202649405_202649403];


GO
PRINT N'Dropping [dbo].[FK_402628605_402628603]...';


GO
ALTER TABLE [dbo].[T_HELYETTESITESIIDOSZAK] DROP CONSTRAINT [FK_402628605_402628603];


GO
PRINT N'Dropping [dbo].[FK_402695205_402695203]...';


GO
ALTER TABLE [dbo].[T_PRIORITAS] DROP CONSTRAINT [FK_402695205_402695203];


GO
PRINT N'Dropping [dbo].[FK_402840705_402840703]...';


GO
ALTER TABLE [dbo].[T_KKTANITOVEZGETTSEG] DROP CONSTRAINT [FK_402840705_402840703];


GO
PRINT N'Dropping [dbo].[FK_402557505_402557503]...';


GO
ALTER TABLE [dbo].[T_TANITASIORA] DROP CONSTRAINT [FK_402557505_402557503];


GO
PRINT N'Dropping [dbo].[FK_355895805_355895803]...';


GO
ALTER TABLE [dbo].[T_SYSTEMPARAMETERVALUE] DROP CONSTRAINT [FK_355895805_355895803];


GO
PRINT N'Dropping [dbo].[FK_402811205_402811203]...';


GO
ALTER TABLE [dbo].[T_HAZIFELADATOK] DROP CONSTRAINT [FK_402811205_402811203];


GO
PRINT N'Dropping [dbo].[FK_402527805_402527803]...';


GO
ALTER TABLE [dbo].[T_ESZKOZJELLEG] DROP CONSTRAINT [FK_402527805_402527803];


GO
PRINT N'Dropping [dbo].[FK_4247205_4247203]...';


GO
ALTER TABLE [dbo].[T_EMAILTIPUS] DROP CONSTRAINT [FK_4247205_4247203];


GO
PRINT N'Dropping [dbo].[FK_402581305_402581303]...';


GO
ALTER TABLE [dbo].[T_FALIUJSAGLATOGATTOTSAG] DROP CONSTRAINT [FK_402581305_402581303];


GO
PRINT N'Dropping [dbo].[FK_402599405_402599403]...';


GO
ALTER TABLE [dbo].[T_ORATERV] DROP CONSTRAINT [FK_402599405_402599403];


GO
PRINT N'Dropping [dbo].[FK_402542205_402542203]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZAS] DROP CONSTRAINT [FK_402542205_402542203];


GO
PRINT N'Dropping [dbo].[FK_810805_810803]...';


GO
ALTER TABLE [dbo].[T_IMPOSITION] DROP CONSTRAINT [FK_810805_810803];


GO
PRINT N'Dropping [dbo].[FK_402512105_402512103]...';


GO
ALTER TABLE [dbo].[T_ESZKOZTIPUS] DROP CONSTRAINT [FK_402512105_402512103];


GO
PRINT N'Dropping [dbo].[FK_402742905_402742903]...';


GO
ALTER TABLE [dbo].[T_IKTESZKOZHASZNALATMOD] DROP CONSTRAINT [FK_402742905_402742903];


GO
PRINT N'Dropping [dbo].[FK_1404405_1404403]...';


GO
ALTER TABLE [dbo].[T_IMPOSITIONGROUP] DROP CONSTRAINT [FK_1404405_1404403];


GO
PRINT N'Dropping [dbo].[FK_402828705_402828703]...';


GO
ALTER TABLE [dbo].[T_VEGZETTSEG] DROP CONSTRAINT [FK_402828705_402828703];


GO
PRINT N'Dropping [dbo].[FK_402774105_402774103]...';


GO
ALTER TABLE [dbo].[T_OGFOGLALKOZAS] DROP CONSTRAINT [FK_402774105_402774103];


GO
PRINT N'Dropping [dbo].[FK_193161505_193161503]...';


GO
ALTER TABLE [dbo].[T_MUNKAVISZONYJELLEGE] DROP CONSTRAINT [FK_193161505_193161503];


GO
PRINT N'Dropping [dbo].[FK_402695105_402695103]...';


GO
ALTER TABLE [dbo].[T_FORRAS] DROP CONSTRAINT [FK_402695105_402695103];


GO
PRINT N'Dropping [dbo].[FK_402839405_402839403]...';


GO
ALTER TABLE [dbo].[T_KKVEGZETTSEGTIPUS] DROP CONSTRAINT [FK_402839405_402839403];


GO
PRINT N'Dropping [dbo].[FK_331018805_331018803]...';


GO
ALTER TABLE [dbo].[T_EMAILUZENET] DROP CONSTRAINT [FK_331018805_331018803];


GO
PRINT N'Dropping [dbo].[FK_402810805_402810803]...';


GO
ALTER TABLE [dbo].[T_VEGZETTSEGTIPUS] DROP CONSTRAINT [FK_402810805_402810803];


GO
PRINT N'Dropping [dbo].[FK_402527705_402527703]...';


GO
ALTER TABLE [dbo].[T_CSOPORT] DROP CONSTRAINT [FK_402527705_402527703];


GO
PRINT N'Dropping [dbo].[FK_4165705_4165703]...';


GO
ALTER TABLE [dbo].[T_TELEFONTIPUS] DROP CONSTRAINT [FK_4165705_4165703];


GO
PRINT N'Dropping [dbo].[FK_402857905_402857903]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUM] DROP CONSTRAINT [FK_402857905_402857903];


GO
PRINT N'Dropping [dbo].[FK_402580105_402580103]...';


GO
ALTER TABLE [dbo].[T_PEDAGOGUSELETPALYAMODELL] DROP CONSTRAINT [FK_402580105_402580103];


GO
PRINT N'Dropping [dbo].[FK_402599105_402599103]...';


GO
ALTER TABLE [dbo].[T_KIZAROCSOPORTTIPUS] DROP CONSTRAINT [FK_402599105_402599103];


GO
PRINT N'Dropping [dbo].[FK_402512005_402512003]...';


GO
ALTER TABLE [dbo].[T_ESZKOZKATEGORIA] DROP CONSTRAINT [FK_402512005_402512003];


GO
PRINT N'Dropping [dbo].[FK_402742805_402742803]...';


GO
ALTER TABLE [dbo].[T_ELSODLEGESIKTESZKOZ] DROP CONSTRAINT [FK_402742805_402742803];


GO
PRINT N'Dropping [dbo].[FK_402827105_402827103]...';


GO
ALTER TABLE [dbo].[T_TANULOHAZIFELADAT] DROP CONSTRAINT [FK_402827105_402827103];


GO
PRINT N'Dropping [dbo].[FK_402773605_402773603]...';


GO
ALTER TABLE [dbo].[T_OGTANTARGYFOGLALTSAG] DROP CONSTRAINT [FK_402773605_402773603];


GO
PRINT N'Dropping [dbo].[FK_176808005_176808003]...';


GO
ALTER TABLE [dbo].[T_KULFOLDISTATUSZTIPUS] DROP CONSTRAINT [FK_176808005_176808003];


GO
PRINT N'Dropping [dbo].[FK_402670905_402670903]...';


GO
ALTER TABLE [dbo].[T_SZERZODOSZEMELYPOZICIO] DROP CONSTRAINT [FK_402670905_402670903];


GO
PRINT N'Dropping [dbo].[FK_402839305_402839303]...';


GO
ALTER TABLE [dbo].[T_KKAMINEPZENETIPUS] DROP CONSTRAINT [FK_402839305_402839303];


GO
PRINT N'Dropping [dbo].[FK_1331005_1331003]...';


GO
ALTER TABLE [dbo].[T_FINANCIALCODE] DROP CONSTRAINT [FK_1331005_1331003];


GO
PRINT N'Dropping [dbo].[FK_402809805_402809803]...';


GO
ALTER TABLE [dbo].[T_ELEARNING] DROP CONSTRAINT [FK_402809805_402809803];


GO
PRINT N'Dropping [dbo].[FK_402527605_402527603]...';


GO
ALTER TABLE [dbo].[T_ESZKOZCEL] DROP CONSTRAINT [FK_402527605_402527603];


GO
PRINT N'Dropping [dbo].[FK_3874305_3874303]...';


GO
ALTER TABLE [dbo].[T_PAYINGTYPE] DROP CONSTRAINT [FK_3874305_3874303];


GO
PRINT N'Dropping [dbo].[FK_402540605_402540603]...';


GO
ALTER TABLE [dbo].[T_TARGYKATEGORIATIPUS] DROP CONSTRAINT [FK_402540605_402540603];


GO
PRINT N'Dropping [dbo].[FK_319582805_319582803]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPESTORTENET] DROP CONSTRAINT [FK_319582805_319582803];


GO
PRINT N'Dropping [dbo].[FK_402855705_402855703]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZOERTEK] DROP CONSTRAINT [FK_402855705_402855703];


GO
PRINT N'Dropping [dbo].[FK_402580005_402580003]...';


GO
ALTER TABLE [dbo].[T_ELETPALYAMODELLFOKOZATTIPUS] DROP CONSTRAINT [FK_402580005_402580003];


GO
PRINT N'Dropping [dbo].[FK_402596205_402596203]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOERTESITESBEALLITA] DROP CONSTRAINT [FK_402596205_402596203];


GO
PRINT N'Dropping [dbo].[FK_402742405_402742403]...';


GO
ALTER TABLE [dbo].[T_PEDAGOGUSIKTADATSZOLGALTATAS] DROP CONSTRAINT [FK_402742405_402742403];


GO
PRINT N'Dropping [dbo].[FK_402825705_402825703]...';


GO
ALTER TABLE [dbo].[T_UZENETCIMZETT] DROP CONSTRAINT [FK_402825705_402825703];


GO
PRINT N'Dropping [dbo].[FK_163886705_163886703]...';


GO
ALTER TABLE [dbo].[T_VPOSCONFIG] DROP CONSTRAINT [FK_163886705_163886703];


GO
PRINT N'Dropping [dbo].[FK_402773405_402773403]...';


GO
ALTER TABLE [dbo].[T_OGFOGLALKOZAS_TEREM] DROP CONSTRAINT [FK_402773405_402773403];


GO
PRINT N'Dropping [dbo].[FK_402621205_402621203]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] DROP CONSTRAINT [FK_402621205_402621203];


GO
PRINT N'Dropping [dbo].[FK_402670805_402670803]...';


GO
ALTER TABLE [dbo].[T_ENAPLOTIPUS] DROP CONSTRAINT [FK_402670805_402670803];


GO
PRINT N'Dropping [dbo].[FK_402839205_402839203]...';


GO
ALTER TABLE [dbo].[T_KKAMIELEKTROAKUTIPUS] DROP CONSTRAINT [FK_402839205_402839203];


GO
PRINT N'Dropping [dbo].[FK_402524605_402524603]...';


GO
ALTER TABLE [dbo].[T_MERTEKEGYSEGTIPUS] DROP CONSTRAINT [FK_402524605_402524603];


GO
PRINT N'Dropping [dbo].[FK_3872705_3872703]...';


GO
ALTER TABLE [dbo].[T_ALLAMPOLGARSAG] DROP CONSTRAINT [FK_3872705_3872703];


GO
PRINT N'Dropping [dbo].[FK_402540505_402540503]...';


GO
ALTER TABLE [dbo].[T_EVFOLYAMTIPUS] DROP CONSTRAINT [FK_402540505_402540503];


GO
PRINT N'Dropping [dbo].[FK_402854405_402854403]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUM] DROP CONSTRAINT [FK_402854405_402854403];


GO
PRINT N'Dropping [dbo].[FK_402579905_402579903]...';


GO
ALTER TABLE [dbo].[T_ELETPALYAMODELLSTATUSZOK] DROP CONSTRAINT [FK_402579905_402579903];


GO
PRINT N'Dropping [dbo].[FK_402595705_402595703]...';


GO
ALTER TABLE [dbo].[T_TANARIATLAGSULY] DROP CONSTRAINT [FK_402595705_402595703];


GO
PRINT N'Dropping [dbo].[FK_1324505_1324503]...';


GO
ALTER TABLE [dbo].[T_FEE] DROP CONSTRAINT [FK_1324505_1324503];


GO
PRINT N'Dropping [dbo].[FK_304453105_304453103]...';


GO
ALTER TABLE [dbo].[T_HONAPOK] DROP CONSTRAINT [FK_304453105_304453103];


GO
PRINT N'Dropping [dbo].[FK_402742305_402742303]...';


GO
ALTER TABLE [dbo].[T_WIFIELERES] DROP CONSTRAINT [FK_402742305_402742303];


GO
PRINT N'Dropping [dbo].[FK_402808305_402808303]...';


GO
ALTER TABLE [dbo].[T_DICTIONARYTYPE] DROP CONSTRAINT [FK_402808305_402808303];


GO
PRINT N'Dropping [dbo].[FK_402557405_402557403]...';


GO
ALTER TABLE [dbo].[T_HELYETTESITESTIPUS] DROP CONSTRAINT [FK_402557405_402557403];


GO
PRINT N'Dropping [dbo].[FK_402509605_402509603]...';


GO
ALTER TABLE [dbo].[T_INGYENESTANKONYVELLATAS] DROP CONSTRAINT [FK_402509605_402509603];


GO
PRINT N'Dropping [dbo].[FK_136198505_136198503]...';


GO
ALTER TABLE [dbo].[T_SMS] DROP CONSTRAINT [FK_136198505_136198503];


GO
PRINT N'Dropping [dbo].[FK_402619105_402619103]...';


GO
ALTER TABLE [dbo].[T_JOGOSULTSAG] DROP CONSTRAINT [FK_402619105_402619103];


GO
PRINT N'Dropping [dbo].[FK_402670705_402670703]...';


GO
ALTER TABLE [dbo].[T_ENAPLOFORRAS] DROP CONSTRAINT [FK_402670705_402670703];


GO
PRINT N'Dropping [dbo].[FK_402839105_402839103]...';


GO
ALTER TABLE [dbo].[T_KKAMIVEGZETTSEGTIPUS] DROP CONSTRAINT [FK_402839105_402839103];


GO
PRINT N'Dropping [dbo].[FK_402773005_402773003]...';


GO
ALTER TABLE [dbo].[T_OGOSZTALYCSOPORT] DROP CONSTRAINT [FK_402773005_402773003];


GO
PRINT N'Dropping [dbo].[FK_4026244_4026243]...';


GO
ALTER TABLE [dbo].[T_INTEZMENYADATOK] DROP CONSTRAINT [FK_4026244_4026243];


GO
PRINT N'Dropping [dbo].[FK_3867705_3867703]...';


GO
ALTER TABLE [dbo].[T_STUDENTCARDSTATUS] DROP CONSTRAINT [FK_3867705_3867703];


GO
PRINT N'Dropping [dbo].[FK_402825605_402825603]...';


GO
ALTER TABLE [dbo].[T_UZENETJOGKORTIPUS] DROP CONSTRAINT [FK_402825605_402825603];


GO
PRINT N'Dropping [dbo].[FK_402854205_402854203]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZO] DROP CONSTRAINT [FK_402854205_402854203];


GO
PRINT N'Dropping [dbo].[FK_402579705_402579703]...';


GO
ALTER TABLE [dbo].[T_ESEMENYZARADEKTIPUS] DROP CONSTRAINT [FK_402579705_402579703];


GO
PRINT N'Dropping [dbo].[FK_402594005_402594003]...';


GO
ALTER TABLE [dbo].[T_TANARITANTARGY] DROP CONSTRAINT [FK_402594005_402594003];


GO
PRINT N'Dropping [dbo].[FK_289347005_289347003]...';


GO
ALTER TABLE [dbo].[T_PAYMENTTITLE_ROLES] DROP CONSTRAINT [FK_289347005_289347003];


GO
PRINT N'Dropping [dbo].[FK_402742205_402742203]...';


GO
ALTER TABLE [dbo].[T_IKTKOMPETENCIASZINT] DROP CONSTRAINT [FK_402742205_402742203];


GO
PRINT N'Dropping [dbo].[FK_1309205_1309203]...';


GO
ALTER TABLE [dbo].[T_SZEREPKOR] DROP CONSTRAINT [FK_1309205_1309203];


GO
PRINT N'Dropping [dbo].[FK_402539905_402539903]...';


GO
ALTER TABLE [dbo].[T_TANTARGY] DROP CONSTRAINT [FK_402539905_402539903];


GO
PRINT N'Dropping [dbo].[FK_402556205_402556203]...';


GO
ALTER TABLE [dbo].[T_NAPTARINAP] DROP CONSTRAINT [FK_402556205_402556203];


GO
PRINT N'Dropping [dbo].[FK_402509305_402509303]...';


GO
ALTER TABLE [dbo].[T_TEREMTIPUS] DROP CONSTRAINT [FK_402509305_402509303];


GO
PRINT N'Dropping [dbo].[FK_402805005_402805003]...';


GO
ALTER TABLE [dbo].[T_TANULOERTEKELESLATTAMOZAS] DROP CONSTRAINT [FK_402805005_402805003];


GO
PRINT N'Dropping [dbo].[FK_402618905_402618903]...';


GO
ALTER TABLE [dbo].[T_SZEREPKORTIPUS] DROP CONSTRAINT [FK_402618905_402618903];


GO
PRINT N'Dropping [dbo].[FK_402669405_402669403]...';


GO
ALTER TABLE [dbo].[T_ADATSZOLGALTATASENAPLO] DROP CONSTRAINT [FK_402669405_402669403];


GO
PRINT N'Dropping [dbo].[FK_136178505_136178503]...';


GO
ALTER TABLE [dbo].[T_SMSMESSAGESTATUS] DROP CONSTRAINT [FK_136178505_136178503];


GO
PRINT N'Dropping [dbo].[FK_402839005_402839003]...';


GO
ALTER TABLE [dbo].[T_KKAMITERULETTIPUS] DROP CONSTRAINT [FK_402839005_402839003];


GO
PRINT N'Dropping [dbo].[FK_402519805_402519803]...';


GO
ALTER TABLE [dbo].[T_FENNTARTOTIPUS] DROP CONSTRAINT [FK_402519805_402519803];


GO
PRINT N'Dropping [dbo].[FK_3863705_3863703]...';


GO
ALTER TABLE [dbo].[T_NATIONALITY] DROP CONSTRAINT [FK_3863705_3863703];


GO
PRINT N'Dropping [dbo].[FK_402824805_402824803]...';


GO
ALTER TABLE [dbo].[T_UZENET] DROP CONSTRAINT [FK_402824805_402824803];


GO
PRINT N'Dropping [dbo].[FK_402854105_402854103]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMTIPUS] DROP CONSTRAINT [FK_402854105_402854103];


GO
PRINT N'Dropping [dbo].[FK_402576905_402576903]...';


GO
ALTER TABLE [dbo].[T_TANULOMENTESSEG] DROP CONSTRAINT [FK_402576905_402576903];


GO
PRINT N'Dropping [dbo].[FK_402592805_402592803]...';


GO
ALTER TABLE [dbo].[T_ERTESITESGENERALASTORTENET] DROP CONSTRAINT [FK_402592805_402592803];


GO
PRINT N'Dropping [dbo].[FK_402772905_402772903]...';


GO
ALTER TABLE [dbo].[T_OGTEREM_TANTARGY] DROP CONSTRAINT [FK_402772905_402772903];


GO
PRINT N'Dropping [dbo].[FK_402742005_402742003]...';


GO
ALTER TABLE [dbo].[T_ENAPLOHASZNALAT] DROP CONSTRAINT [FK_402742005_402742003];


GO
PRINT N'Dropping [dbo].[FK_1167105_1167103]...';


GO
ALTER TABLE [dbo].[T_STUDENTCARDTYPE] DROP CONSTRAINT [FK_1167105_1167103];


GO
PRINT N'Dropping [dbo].[FK_402509205_402509203]...';


GO
ALTER TABLE [dbo].[T_MAGANTANULOSAGOKA] DROP CONSTRAINT [FK_402509205_402509203];


GO
PRINT N'Dropping [dbo].[FK_402804805_402804803]...';


GO
ALTER TABLE [dbo].[T_TANULOESEMENYLATTAMOZAS] DROP CONSTRAINT [FK_402804805_402804803];


GO
PRINT N'Dropping [dbo].[FK_402617205_402617203]...';


GO
ALTER TABLE [dbo].[T_TANULOKOZOSSEGISZOLGALAT] DROP CONSTRAINT [FK_402617205_402617203];


GO
PRINT N'Dropping [dbo].[FK_402669305_402669303]...';


GO
ALTER TABLE [dbo].[T_ENAPLOINFRA] DROP CONSTRAINT [FK_402669305_402669303];


GO
PRINT N'Dropping [dbo].[FK_131202405_131202403]...';


GO
ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILESTATU] DROP CONSTRAINT [FK_131202405_131202403];


GO
PRINT N'Dropping [dbo].[FK_402838905_402838903]...';


GO
ALTER TABLE [dbo].[T_KKAMIJAZZZENETIPUS] DROP CONSTRAINT [FK_402838905_402838903];


GO
PRINT N'Dropping [dbo].[FK_402555605_402555603]...';


GO
ALTER TABLE [dbo].[T_TANMENET] DROP CONSTRAINT [FK_402555605_402555603];


GO
PRINT N'Dropping [dbo].[FK_284754505_284754503]...';


GO
ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYHIBASTATU] DROP CONSTRAINT [FK_284754505_284754503];


GO
PRINT N'Dropping [dbo].[FK_402519105_402519103]...';


GO
ALTER TABLE [dbo].[T_CSOPORTTIPUS] DROP CONSTRAINT [FK_402519105_402519103];


GO
PRINT N'Dropping [dbo].[FK_3841605_3841603]...';


GO
ALTER TABLE [dbo].[T_MARITALSTATUS] DROP CONSTRAINT [FK_3841605_3841603];


GO
PRINT N'Dropping [dbo].[FK_402854005_402854003]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMSTATUSZ] DROP CONSTRAINT [FK_402854005_402854003];


GO
PRINT N'Dropping [dbo].[FK_402575205_402575203]...';


GO
ALTER TABLE [dbo].[T_NAPLOELLENORZES] DROP CONSTRAINT [FK_402575205_402575203];


GO
PRINT N'Dropping [dbo].[FK_402592605_402592603]...';


GO
ALTER TABLE [dbo].[T_MESSAGESTATUS] DROP CONSTRAINT [FK_402592605_402592603];


GO
PRINT N'Dropping [dbo].[FK_402824405_402824403]...';


GO
ALTER TABLE [dbo].[T_UZENETJOGOK] DROP CONSTRAINT [FK_402824405_402824403];


GO
PRINT N'Dropping [dbo].[FK_402772405_402772403]...';


GO
ALTER TABLE [dbo].[T_OGTANARFOGLALTSAG] DROP CONSTRAINT [FK_402772405_402772403];


GO
PRINT N'Dropping [dbo].[FK_402539205_402539203]...';


GO
ALTER TABLE [dbo].[T_TANTERV] DROP CONSTRAINT [FK_402539205_402539203];


GO
PRINT N'Dropping [dbo].[FK_402739605_402739603]...';


GO
ALTER TABLE [dbo].[T_TAGOZATTIPUS] DROP CONSTRAINT [FK_402739605_402739603];


GO
PRINT N'Dropping [dbo].[FK_1109405_1109403]...';


GO
ALTER TABLE [dbo].[T_CIM] DROP CONSTRAINT [FK_1109405_1109403];


GO
PRINT N'Dropping [dbo].[FK_402804605_402804603]...';


GO
ALTER TABLE [dbo].[T_TANULOMULASZTASLATTAMOZAS] DROP CONSTRAINT [FK_402804605_402804603];


GO
PRINT N'Dropping [dbo].[FK_402616205_402616203]...';


GO
ALTER TABLE [dbo].[T_PARTFILLSTATUS] DROP CONSTRAINT [FK_402616205_402616203];


GO
PRINT N'Dropping [dbo].[FK_402667705_402667703]...';


GO
ALTER TABLE [dbo].[T_NEMKOTOTTMUNKAIDO] DROP CONSTRAINT [FK_402667705_402667703];


GO
PRINT N'Dropping [dbo].[FK_129125805_129125803]...';


GO
ALTER TABLE [dbo].[T_ORSZAGTIPUS] DROP CONSTRAINT [FK_129125805_129125803];


GO
PRINT N'Dropping [dbo].[FK_402838805_402838803]...';


GO
ALTER TABLE [dbo].[T_KKTANITOMUVTERTIPUS] DROP CONSTRAINT [FK_402838805_402838803];


GO
PRINT N'Dropping [dbo].[FK_402553005_402553003]...';


GO
ALTER TABLE [dbo].[T_ORARENDIORA] DROP CONSTRAINT [FK_402553005_402553003];


GO
PRINT N'Dropping [dbo].[FK_284654605_284654603]...';


GO
ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYTIPUS] DROP CONSTRAINT [FK_284654605_284654603];


GO
PRINT N'Dropping [dbo].[FK_3840805_3840803]...';


GO
ALTER TABLE [dbo].[T_IMPOSITIONSTATUS] DROP CONSTRAINT [FK_3840805_3840803];


GO
PRINT N'Dropping [dbo].[FK_402853805_402853803]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZOTIPUS] DROP CONSTRAINT [FK_402853805_402853803];


GO
PRINT N'Dropping [dbo].[FK_402574605_402574603]...';


GO
ALTER TABLE [dbo].[T_IGAZOLAS] DROP CONSTRAINT [FK_402574605_402574603];


GO
PRINT N'Dropping [dbo].[FK_402517905_402517903]...';


GO
ALTER TABLE [dbo].[T_ROKONSAGIFOK] DROP CONSTRAINT [FK_402517905_402517903];


GO
PRINT N'Dropping [dbo].[FK_402823405_402823403]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGIVALASZ] DROP CONSTRAINT [FK_402823405_402823403];


GO
PRINT N'Dropping [dbo].[FK_402736305_402736303]...';


GO
ALTER TABLE [dbo].[T_NEBULO] DROP CONSTRAINT [FK_402736305_402736303];


GO
PRINT N'Dropping [dbo].[FK_402771505_402771503]...';


GO
ALTER TABLE [dbo].[T_MUKODESIHELYADATSZOLGALTATAS] DROP CONSTRAINT [FK_402771505_402771503];


GO
PRINT N'Dropping [dbo].[FK_402508005_402508003]...';


GO
ALTER TABLE [dbo].[T_ENTITYATTRIBUTEHISTORY] DROP CONSTRAINT [FK_402508005_402508003];


GO
PRINT N'Dropping [dbo].[FK_1073505_1073503]...';


GO
ALTER TABLE [dbo].[T_TRANSACTION] DROP CONSTRAINT [FK_1073505_1073503];


GO
PRINT N'Dropping [dbo].[FK_402799805_402799803]...';


GO
ALTER TABLE [dbo].[T_ORARENDIORATULAJDONSAG] DROP CONSTRAINT [FK_402799805_402799803];


GO
PRINT N'Dropping [dbo].[FK_402613705_402613703]...';


GO
ALTER TABLE [dbo].[T_RENDSZERERTESITESEK] DROP CONSTRAINT [FK_402613705_402613703];


GO
PRINT N'Dropping [dbo].[FK_402666905_402666903]...';


GO
ALTER TABLE [dbo].[T_ESLADAT] DROP CONSTRAINT [FK_402666905_402666903];


GO
PRINT N'Dropping [dbo].[FK_125783105_125783103]...';


GO
ALTER TABLE [dbo].[T_USERNOTIFICATION] DROP CONSTRAINT [FK_125783105_125783103];


GO
PRINT N'Dropping [dbo].[FK_402838705_402838703]...';


GO
ALTER TABLE [dbo].[T_KKAMIKLASSZIKUSTIPUS] DROP CONSTRAINT [FK_402838705_402838703];


GO
PRINT N'Dropping [dbo].[FK_276170205_276170203]...';


GO
ALTER TABLE [dbo].[T_IMPOSITIONIMPOSITIONGROUP] DROP CONSTRAINT [FK_276170205_276170203];


GO
PRINT N'Dropping [dbo].[FK_3839205_3839203]...';


GO
ALTER TABLE [dbo].[T_LANGUAGE] DROP CONSTRAINT [FK_3839205_3839203];


GO
PRINT N'Dropping [dbo].[FK_402853705_402853703]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMKATEGORIA] DROP CONSTRAINT [FK_402853705_402853703];


GO
PRINT N'Dropping [dbo].[FK_402572805_402572803]...';


GO
ALTER TABLE [dbo].[T_ORALATOGATAS] DROP CONSTRAINT [FK_402572805_402572803];


GO
PRINT N'Dropping [dbo].[FK_402590605_402590603]...';


GO
ALTER TABLE [dbo].[T_JOGYAKORLAT] DROP CONSTRAINT [FK_402590605_402590603];


GO
PRINT N'Dropping [dbo].[FK_4026237_4026236]...';


GO
ALTER TABLE [dbo].[T_TANULO] DROP CONSTRAINT [FK_4026237_4026236];


GO
PRINT N'Dropping [dbo].[FK_402517805_402517803]...';


GO
ALTER TABLE [dbo].[T_TANULO] DROP CONSTRAINT [FK_402517805_402517803];


GO
PRINT N'Dropping [dbo].[FK_402821805_402821803]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGIKERDES] DROP CONSTRAINT [FK_402821805_402821803];


GO
PRINT N'Dropping [dbo].[FK_402767505_402767503]...';


GO
ALTER TABLE [dbo].[T_INTEZMENYESZKOZADATSZOLGALTA] DROP CONSTRAINT [FK_402767505_402767503];


GO
PRINT N'Dropping [dbo].[FK_402537205_402537203]...';


GO
ALTER TABLE [dbo].[T_ERTELMIFOGYATEKOSTIPUS] DROP CONSTRAINT [FK_402537205_402537203];


GO
PRINT N'Dropping [dbo].[FK_402504305_402504303]...';


GO
ALTER TABLE [dbo].[T_ENTITYHISTORY] DROP CONSTRAINT [FK_402504305_402504303];


GO
PRINT N'Dropping [dbo].[FK_402797005_402797003]...';


GO
ALTER TABLE [dbo].[T_ORATULAJDONSAGTIPUS] DROP CONSTRAINT [FK_402797005_402797003];


GO
PRINT N'Dropping [dbo].[FK_402662605_402662603]...';


GO
ALTER TABLE [dbo].[T_TANULOESLADATOK] DROP CONSTRAINT [FK_402662605_402662603];


GO
PRINT N'Dropping [dbo].[FK_402838605_402838603]...';


GO
ALTER TABLE [dbo].[T_KKGYOGYPEDTERTIPUS] DROP CONSTRAINT [FK_402838605_402838603];


GO
PRINT N'Dropping [dbo].[FK_274081905_274081903]...';


GO
ALTER TABLE [dbo].[T_SYSTEMPARAMETERTYPE] DROP CONSTRAINT [FK_274081905_274081903];


GO
PRINT N'Dropping [dbo].[FK_1068505_1068503]...';


GO
ALTER TABLE [dbo].[T_PARTNER] DROP CONSTRAINT [FK_1068505_1068503];


GO
PRINT N'Dropping [dbo].[FK_3836905_3836903]...';


GO
ALTER TABLE [dbo].[T_CIMTIPUS] DROP CONSTRAINT [FK_3836905_3836903];


GO
PRINT N'Dropping [dbo].[FK_402851305_402851303]...';


GO
ALTER TABLE [dbo].[T_JELSZOMODOSITASLINK] DROP CONSTRAINT [FK_402851305_402851303];


GO
PRINT N'Dropping [dbo].[FK_402572105_402572103]...';


GO
ALTER TABLE [dbo].[T_MAGATARTASERTEKELESTIPUS] DROP CONSTRAINT [FK_402572105_402572103];


GO
PRINT N'Dropping [dbo].[FK_402590105_402590103]...';


GO
ALTER TABLE [dbo].[T_EVENTTYPE] DROP CONSTRAINT [FK_402590105_402590103];


GO
PRINT N'Dropping [dbo].[FK_402820405_402820403]...';


GO
ALTER TABLE [dbo].[T_LICENCEFUNKCIOKTIPUS] DROP CONSTRAINT [FK_402820405_402820403];


GO
PRINT N'Dropping [dbo].[FK_402763405_402763403]...';


GO
ALTER TABLE [dbo].[T_VEZETOIORASZAMOKTIPUS] DROP CONSTRAINT [FK_402763405_402763403];


GO
PRINT N'Dropping [dbo].[FK_402537105_402537103]...';


GO
ALTER TABLE [dbo].[T_HALLASSERULTTIPUS] DROP CONSTRAINT [FK_402537105_402537103];


GO
PRINT N'Dropping [dbo].[FK_125763105_125763103]...';


GO
ALTER TABLE [dbo].[T_ESEMENYSTATUSZ] DROP CONSTRAINT [FK_125763105_125763103];


GO
PRINT N'Dropping [dbo].[FK_402795405_402795403]...';


GO
ALTER TABLE [dbo].[T_TANITASIORATULAJDONSAG] DROP CONSTRAINT [FK_402795405_402795403];


GO
PRINT N'Dropping [dbo].[FK_402662505_402662503]...';


GO
ALTER TABLE [dbo].[T_ESLADATTIPUS] DROP CONSTRAINT [FK_402662505_402662503];


GO
PRINT N'Dropping [dbo].[FK_402838505_402838503]...';


GO
ALTER TABLE [dbo].[T_KKKEPESITESTIPUS] DROP CONSTRAINT [FK_402838505_402838503];


GO
PRINT N'Dropping [dbo].[FK_265686405_265686403]...';


GO
ALTER TABLE [dbo].[T_ONLINEUSER] DROP CONSTRAINT [FK_265686405_265686403];


GO
PRINT N'Dropping [dbo].[FK_3833005_3833003]...';


GO
ALTER TABLE [dbo].[T_NEM] DROP CONSTRAINT [FK_3833005_3833003];


GO
PRINT N'Dropping [dbo].[FK_402571705_402571703]...';


GO
ALTER TABLE [dbo].[T_SZORGALOMERTEKELESTIPUS] DROP CONSTRAINT [FK_402571705_402571703];


GO
PRINT N'Dropping [dbo].[FK_402849205_402849203]...';


GO
ALTER TABLE [dbo].[T_DIAKOLIMPIA] DROP CONSTRAINT [FK_402849205_402849203];


GO
PRINT N'Dropping [dbo].[FK_402820005_402820003]...';


GO
ALTER TABLE [dbo].[T_LICENCE] DROP CONSTRAINT [FK_402820005_402820003];


GO
PRINT N'Dropping [dbo].[FK_402762905_402762903]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZTATASTIPUSA] DROP CONSTRAINT [FK_402762905_402762903];


GO
PRINT N'Dropping [dbo].[FK_1047705_1047703]...';


GO
ALTER TABLE [dbo].[T_ERRORTYPE] DROP CONSTRAINT [FK_1047705_1047703];


GO
PRINT N'Dropping [dbo].[FK_402537005_402537003]...';


GO
ALTER TABLE [dbo].[T_LATASSERULTTIPUS] DROP CONSTRAINT [FK_402537005_402537003];


GO
PRINT N'Dropping [dbo].[FK_102945805_102945803]...';


GO
ALTER TABLE [dbo].[T_TRANSACTIONSTATUS] DROP CONSTRAINT [FK_102945805_102945803];


GO
PRINT N'Dropping [dbo].[FK_402736205_402736203]...';


GO
ALTER TABLE [dbo].[T_FELVETELSTATUSZATIPUS] DROP CONSTRAINT [FK_402736205_402736203];


GO
PRINT N'Dropping [dbo].[FK_402793505_402793503]...';


GO
ALTER TABLE [dbo].[T_NATKERDOIV] DROP CONSTRAINT [FK_402793505_402793503];


GO
PRINT N'Dropping [dbo].[FK_402659305_402659303]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZASARCHIV] DROP CONSTRAINT [FK_402659305_402659303];


GO
PRINT N'Dropping [dbo].[FK_402838405_402838403]...';


GO
ALTER TABLE [dbo].[T_KKSZAKTIPUS] DROP CONSTRAINT [FK_402838405_402838403];


GO
PRINT N'Dropping [dbo].[FK_261224905_261224903]...';


GO
ALTER TABLE [dbo].[T_LOGINLINKS] DROP CONSTRAINT [FK_261224905_261224903];


GO
PRINT N'Dropping [dbo].[FK_2552905_2552903]...';


GO
ALTER TABLE [dbo].[T_BANKACCOUNT] DROP CONSTRAINT [FK_2552905_2552903];


GO
PRINT N'Dropping [dbo].[FK_402569905_402569903]...';


GO
ALTER TABLE [dbo].[T_TANULOESEMENY] DROP CONSTRAINT [FK_402569905_402569903];


GO
PRINT N'Dropping [dbo].[FK_402589305_402589303]...';


GO
ALTER TABLE [dbo].[T_SCHEDULERTRIGGERS] DROP CONSTRAINT [FK_402589305_402589303];


GO
PRINT N'Dropping [dbo].[FK_402846405_402846403]...';


GO
ALTER TABLE [dbo].[T_ERTMONDATBANKTIPUS] DROP CONSTRAINT [FK_402846405_402846403];


GO
PRINT N'Dropping [dbo].[FK_402516905_402516903]...';


GO
ALTER TABLE [dbo].[T_GONDVISELO] DROP CONSTRAINT [FK_402516905_402516903];


GO
PRINT N'Dropping [dbo].[FK_402761905_402761903]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGISZINT] DROP CONSTRAINT [FK_402761905_402761903];


GO
PRINT N'Dropping [dbo].[FK_987605_987603]...';


GO
ALTER TABLE [dbo].[T_EMAIL] DROP CONSTRAINT [FK_987605_987603];


GO
PRINT N'Dropping [dbo].[FK_402610905_402610903]...';


GO
ALTER TABLE [dbo].[T_SYSTEMSETTINGSCONTROLTYPE] DROP CONSTRAINT [FK_402610905_402610903];


GO
PRINT N'Dropping [dbo].[FK_402818705_402818703]...';


GO
ALTER TABLE [dbo].[T_PENZNEMTIPUS] DROP CONSTRAINT [FK_402818705_402818703];


GO
PRINT N'Dropping [dbo].[FK_402536005_402536003]...';


GO
ALTER TABLE [dbo].[T_ETKEZESIKEDVEZMENYTIPUS] DROP CONSTRAINT [FK_402536005_402536003];


GO
PRINT N'Dropping [dbo].[FK_99084705_99084703]...';


GO
ALTER TABLE [dbo].[T_SCSTUDENTTEMPORARYCARD] DROP CONSTRAINT [FK_99084705_99084703];


GO
PRINT N'Dropping [dbo].[FK_402729805_402729803]...';


GO
ALTER TABLE [dbo].[T_UPLOADEDFILE] DROP CONSTRAINT [FK_402729805_402729803];


GO
PRINT N'Dropping [dbo].[FK_402653905_402653903]...';


GO
ALTER TABLE [dbo].[T_SOROLASOKATIPUS] DROP CONSTRAINT [FK_402653905_402653903];


GO
PRINT N'Dropping [dbo].[FK_402838305_402838303]...';


GO
ALTER TABLE [dbo].[T_KKAMIZENEMUVKATTIPUS] DROP CONSTRAINT [FK_402838305_402838303];


GO
PRINT N'Dropping [dbo].[FK_402551805_402551803]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] DROP CONSTRAINT [FK_402551805_402551803];


GO
PRINT N'Dropping [dbo].[FK_402497605_402497603]...';


GO
ALTER TABLE [dbo].[T_LOG] DROP CONSTRAINT [FK_402497605_402497603];


GO
PRINT N'Dropping [dbo].[FK_402588805_402588803]...';


GO
ALTER TABLE [dbo].[T_SCHEDULERCONTEXTS] DROP CONSTRAINT [FK_402588805_402588803];


GO
PRINT N'Dropping [dbo].[FK_402842805_402842803]...';


GO
ALTER TABLE [dbo].[T_KKTANTARGYKATEGORIA] DROP CONSTRAINT [FK_402842805_402842803];


GO
PRINT N'Dropping [dbo].[FK_402569805_402569803]...';


GO
ALTER TABLE [dbo].[T_ESEMENYTIPUS] DROP CONSTRAINT [FK_402569805_402569803];


GO
PRINT N'Dropping [dbo].[FK_261034805_261034803]...';


GO
ALTER TABLE [dbo].[T_LOGINNEWS] DROP CONSTRAINT [FK_261034805_261034803];


GO
PRINT N'Dropping [dbo].[FK_402761805_402761803]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGITIPUS] DROP CONSTRAINT [FK_402761805_402761803];


GO
PRINT N'Dropping [dbo].[FK_402608805_402608803]...';


GO
ALTER TABLE [dbo].[T_SCHEDULERLOG] DROP CONSTRAINT [FK_402608805_402608803];


GO
PRINT N'Dropping [dbo].[FK_2294205_2294203]...';


GO
ALTER TABLE [dbo].[T_CREDITCARDPAYMENT] DROP CONSTRAINT [FK_2294205_2294203];


GO
PRINT N'Dropping [dbo].[FK_402818405_402818403]...';


GO
ALTER TABLE [dbo].[T_MEROALLAS] DROP CONSTRAINT [FK_402818405_402818403];


GO
PRINT N'Dropping [dbo].[FK_402535905_402535903]...';


GO
ALTER TABLE [dbo].[T_HATRANYOSHELYZETTIPUS] DROP CONSTRAINT [FK_402535905_402535903];


GO
PRINT N'Dropping [dbo].[FK_99079205_99079203]...';


GO
ALTER TABLE [dbo].[T_SCAPPLICATIONFORMBATCH] DROP CONSTRAINT [FK_99079205_99079203];


GO
PRINT N'Dropping [dbo].[FK_402719205_402719203]...';


GO
ALTER TABLE [dbo].[T_IDOKERET] DROP CONSTRAINT [FK_402719205_402719203];


GO
PRINT N'Dropping [dbo].[FK_402653705_402653703]...';


GO
ALTER TABLE [dbo].[T_CSOPORTTIPUS_FOGLALKOZASTIPU] DROP CONSTRAINT [FK_402653705_402653703];


GO
PRINT N'Dropping [dbo].[FK_402836305_402836303]...';


GO
ALTER TABLE [dbo].[T_OSSZEFUGGOSZAKGYAK] DROP CONSTRAINT [FK_402836305_402836303];


GO
PRINT N'Dropping [dbo].[FK_402546505_402546503]...';


GO
ALTER TABLE [dbo].[T_CIMTARCSOPORT] DROP CONSTRAINT [FK_402546505_402546503];


GO
PRINT N'Dropping [dbo].[FK_402791105_402791103]...';


GO
ALTER TABLE [dbo].[T_KOZOSSEGISZOLGALATTIPUS] DROP CONSTRAINT [FK_402791105_402791103];


GO
PRINT N'Dropping [dbo].[FK_402588505_402588503]...';


GO
ALTER TABLE [dbo].[T_SCHEDULERJOBS] DROP CONSTRAINT [FK_402588505_402588503];


GO
PRINT N'Dropping [dbo].[FK_402842705_402842703]...';


GO
ALTER TABLE [dbo].[T_KKKEPESITESJELLTIPUS] DROP CONSTRAINT [FK_402842705_402842703];


GO
PRINT N'Dropping [dbo].[FK_402515705_402515703]...';


GO
ALTER TABLE [dbo].[T_MUNKAKORTIPUS] DROP CONSTRAINT [FK_402515705_402515703];


GO
PRINT N'Dropping [dbo].[FK_402760905_402760903]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGIEREDMENY] DROP CONSTRAINT [FK_402760905_402760903];


GO
PRINT N'Dropping [dbo].[FK_402607805_402607803]...';


GO
ALTER TABLE [dbo].[T_MULASZTASSTATISZTIKATIPUS] DROP CONSTRAINT [FK_402607805_402607803];


GO
PRINT N'Dropping [dbo].[FK_402818305_402818303]...';


GO
ALTER TABLE [dbo].[T_MEROHELYTIPUS] DROP CONSTRAINT [FK_402818305_402818303];


GO
PRINT N'Dropping [dbo].[FK_402534005_402534003]...';


GO
ALTER TABLE [dbo].[T_VALLAS] DROP CONSTRAINT [FK_402534005_402534003];


GO
PRINT N'Dropping [dbo].[FK_99079105_99079103]...';


GO
ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYLES] DROP CONSTRAINT [FK_99079105_99079103];


GO
PRINT N'Dropping [dbo].[FK_2288705_2288703]...';


GO
ALTER TABLE [dbo].[T_CREDITCARDREPLY] DROP CONSTRAINT [FK_2288705_2288703];


GO
PRINT N'Dropping [dbo].[FK_402718905_402718903]...';


GO
ALTER TABLE [dbo].[T_EPENZTARCABIZONYLAT] DROP CONSTRAINT [FK_402718905_402718903];


GO
PRINT N'Dropping [dbo].[FK_402569605_402569603]...';


GO
ALTER TABLE [dbo].[T_IGAZOLASTIPUS] DROP CONSTRAINT [FK_402569605_402569603];


GO
PRINT N'Dropping [dbo].[FK_402653005_402653003]...';


GO
ALTER TABLE [dbo].[T_KIRTELEPHELY] DROP CONSTRAINT [FK_402653005_402653003];


GO
PRINT N'Dropping [dbo].[FK_402546205_402546203]...';


GO
ALTER TABLE [dbo].[T_CIMTAR] DROP CONSTRAINT [FK_402546205_402546203];


GO
PRINT N'Dropping [dbo].[FK_249131205_249131203]...';


GO
ALTER TABLE [dbo].[T_OTPJELENTESSTATUS] DROP CONSTRAINT [FK_249131205_249131203];


GO
PRINT N'Dropping [dbo].[FK_402365005_402365003]...';


GO
ALTER TABLE [dbo].[T_AUTOMATICMESSAGES] DROP CONSTRAINT [FK_402365005_402365003];


GO
PRINT N'Dropping [dbo].[FK_402784705_402784703]...';


GO
ALTER TABLE [dbo].[T_OGTEREMFOGLALTSAG] DROP CONSTRAINT [FK_402784705_402784703];


GO
PRINT N'Dropping [dbo].[FK_402586805_402586803]...';


GO
ALTER TABLE [dbo].[T_ERTESITES] DROP CONSTRAINT [FK_402586805_402586803];


GO
PRINT N'Dropping [dbo].[FK_402842505_402842503]...';


GO
ALTER TABLE [dbo].[T_KKJAZZZENE] DROP CONSTRAINT [FK_402842505_402842503];


GO
PRINT N'Dropping [dbo].[FK_402514805_402514803]...';


GO
ALTER TABLE [dbo].[T_MUKODESIHELY] DROP CONSTRAINT [FK_402514805_402514803];


GO
PRINT N'Dropping [dbo].[FK_402759905_402759903]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGITANTARGYADATOK] DROP CONSTRAINT [FK_402759905_402759903];


GO
PRINT N'Dropping [dbo].[FK_402606805_402606803]...';


GO
ALTER TABLE [dbo].[T_TANULOTARGYMULASZTASSTATISZT] DROP CONSTRAINT [FK_402606805_402606803];


GO
PRINT N'Dropping [dbo].[FK_402817105_402817103]...';


GO
ALTER TABLE [dbo].[T_KOZMUSZAMLA] DROP CONSTRAINT [FK_402817105_402817103];


GO
PRINT N'Dropping [dbo].[FK_4026254_4026253]...';


GO
ALTER TABLE [dbo].[T_TANEV] DROP CONSTRAINT [FK_4026254_4026253];


GO
PRINT N'Dropping [dbo].[FK_2107905_2107903]...';


GO
ALTER TABLE [dbo].[T_SYSTEMPARAMETER] DROP CONSTRAINT [FK_2107905_2107903];


GO
PRINT N'Dropping [dbo].[FK_99079005_99079003]...';


GO
ALTER TABLE [dbo].[T_SCSTICKER] DROP CONSTRAINT [FK_99079005_99079003];


GO
PRINT N'Dropping [dbo].[FK_402718805_402718803]...';


GO
ALTER TABLE [dbo].[T_OSSZEGTULLEPESTIPUS] DROP CONSTRAINT [FK_402718805_402718803];


GO
PRINT N'Dropping [dbo].[FK_402567905_402567903]...';


GO
ALTER TABLE [dbo].[T_CSENGETESIRENDORA] DROP CONSTRAINT [FK_402567905_402567903];


GO
PRINT N'Dropping [dbo].[FK_402636605_402636603]...';


GO
ALTER TABLE [dbo].[T_MUNKAIDOKEDVEZMENYOKA] DROP CONSTRAINT [FK_402636605_402636603];


GO
PRINT N'Dropping [dbo].[FK_402834805_402834803]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENERELEMSTATUSZ] DROP CONSTRAINT [FK_402834805_402834803];


GO
PRINT N'Dropping [dbo].[FK_402545605_402545603]...';


GO
ALTER TABLE [dbo].[T_CSENGETESIREND] DROP CONSTRAINT [FK_402545605_402545603];


GO
PRINT N'Dropping [dbo].[FK_248900605_248900603]...';


GO
ALTER TABLE [dbo].[T_OTPJELENTESEK] DROP CONSTRAINT [FK_248900605_248900603];


GO
PRINT N'Dropping [dbo].[FK_881105_881103]...';


GO
ALTER TABLE [dbo].[T_PERSONMESSAGE] DROP CONSTRAINT [FK_881105_881103];


GO
PRINT N'Dropping [dbo].[FK_402784205_402784203]...';


GO
ALTER TABLE [dbo].[T_OGFOGLALKOZASFOGLALTSAG] DROP CONSTRAINT [FK_402784205_402784203];


GO
PRINT N'Dropping [dbo].[FK_402842305_402842303]...';


GO
ALTER TABLE [dbo].[T_KKKLASSZIKUSZENE] DROP CONSTRAINT [FK_402842305_402842303];


GO
PRINT N'Dropping [dbo].[FK_402759805_402759803]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGITANTARGY] DROP CONSTRAINT [FK_402759805_402759803];


GO
PRINT N'Dropping [dbo].[FK_402586605_402586603]...';


GO
ALTER TABLE [dbo].[T_GONDVISELOERTESITES] DROP CONSTRAINT [FK_402586605_402586603];


GO
PRINT N'Dropping [dbo].[FK_402605305_402605303]...';


GO
ALTER TABLE [dbo].[T_TANULOMULASZTASSTATISZTIKA] DROP CONSTRAINT [FK_402605305_402605303];


GO
PRINT N'Dropping [dbo].[FK_402513905_402513903]...';


GO
ALTER TABLE [dbo].[T_ALKALMAZOTT] DROP CONSTRAINT [FK_402513905_402513903];


GO
PRINT N'Dropping [dbo].[FK_2103805_2103803]...';


GO
ALTER TABLE [dbo].[T_DICTIONARYITEMBASE] DROP CONSTRAINT [FK_2103805_2103803];


GO
PRINT N'Dropping [dbo].[FK_402718105_402718103]...';


GO
ALTER TABLE [dbo].[T_EPENZTARCATETEL] DROP CONSTRAINT [FK_402718105_402718103];


GO
PRINT N'Dropping [dbo].[FK_402565905_402565903]...';


GO
ALTER TABLE [dbo].[T_MULASZTASTIPUS] DROP CONSTRAINT [FK_402565905_402565903];


GO
PRINT N'Dropping [dbo].[FK_402635305_402635303]...';


GO
ALTER TABLE [dbo].[T_BESOROLASIFOKOZATTIPUS] DROP CONSTRAINT [FK_402635305_402635303];


GO
PRINT N'Dropping [dbo].[FK_402832105_402832103]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENER] DROP CONSTRAINT [FK_402832105_402832103];


GO
PRINT N'Dropping [dbo].[FK_248860605_248860603]...';


GO
ALTER TABLE [dbo].[T_OTPJELENTESTIPUS] DROP CONSTRAINT [FK_248860605_248860603];


GO
PRINT N'Dropping [dbo].[FK_402816705_402816703]...';


GO
ALTER TABLE [dbo].[T_MEROHELY] DROP CONSTRAINT [FK_402816705_402816703];


GO
PRINT N'Dropping [dbo].[FK_99078905_99078903]...';


GO
ALTER TABLE [dbo].[T_SCINSET] DROP CONSTRAINT [FK_99078905_99078903];


GO
PRINT N'Dropping [dbo].[FK_402544905_402544903]...';


GO
ALTER TABLE [dbo].[T_HETNAPJATIPUS] DROP CONSTRAINT [FK_402544905_402544903];


GO
PRINT N'Dropping [dbo].[FK_402842105_402842103]...';


GO
ALTER TABLE [dbo].[T_KKAMIVEGZETTSEG] DROP CONSTRAINT [FK_402842105_402842103];


GO
PRINT N'Dropping [dbo].[FK_394052705_394052703]...';


GO
ALTER TABLE [dbo].[T_EMAILADATOK] DROP CONSTRAINT [FK_394052705_394052703];


GO
PRINT N'Dropping [dbo].[FK_880005_880003]...';


GO
ALTER TABLE [dbo].[T_MESSAGE] DROP CONSTRAINT [FK_880005_880003];


GO
PRINT N'Dropping [dbo].[FK_402783805_402783803]...';


GO
ALTER TABLE [dbo].[T_OGEXPORTORAREND] DROP CONSTRAINT [FK_402783805_402783803];


GO
PRINT N'Dropping [dbo].[FK_402755805_402755803]...';


GO
ALTER TABLE [dbo].[T_TOVABBIMUNKAUGYIADATOK] DROP CONSTRAINT [FK_402755805_402755803];


GO
PRINT N'Dropping [dbo].[FK_402586505_402586503]...';


GO
ALTER TABLE [dbo].[T_ERTESITESTIPUS] DROP CONSTRAINT [FK_402586505_402586503];


GO
PRINT N'Dropping [dbo].[FK_402604205_402604203]...';


GO
ALTER TABLE [dbo].[T_OLDALLATOGATOTTSAG] DROP CONSTRAINT [FK_402604205_402604203];


GO
PRINT N'Dropping [dbo].[FK_402565405_402565403]...';


GO
ALTER TABLE [dbo].[T_TANULOMULASZTAS] DROP CONSTRAINT [FK_402565405_402565403];


GO
PRINT N'Dropping [dbo].[FK_4026362_4026361]...';


GO
ALTER TABLE [dbo].[T_INTEZMENYADATSZOLGALTATAS] DROP CONSTRAINT [FK_4026362_4026361];


GO
PRINT N'Dropping [dbo].[FK_402831605_402831603]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENERSTATUSZ] DROP CONSTRAINT [FK_402831605_402831603];


GO
PRINT N'Dropping [dbo].[FK_402718005_402718003]...';


GO
ALTER TABLE [dbo].[T_EPENZTARCATETELSTATUSZ] DROP CONSTRAINT [FK_402718005_402718003];


GO
PRINT N'Dropping [dbo].[FK_242511905_242511903]...';


GO
ALTER TABLE [dbo].[T_KOZTERULETJELLEG] DROP CONSTRAINT [FK_242511905_242511903];


GO
PRINT N'Dropping [dbo].[FK_402544105_402544103]...';


GO
ALTER TABLE [dbo].[T_TANEVRENDJE] DROP CONSTRAINT [FK_402544105_402544103];


GO
PRINT N'Dropping [dbo].[FK_2077505_2077503]...';


GO
ALTER TABLE [dbo].[T_TELEFON] DROP CONSTRAINT [FK_2077505_2077503];


GO
PRINT N'Dropping [dbo].[FK_402816605_402816603]...';


GO
ALTER TABLE [dbo].[T_KOZMUSZAMLATIPUS] DROP CONSTRAINT [FK_402816605_402816603];


GO
PRINT N'Dropping [dbo].[FK_99078805_99078803]...';


GO
ALTER TABLE [dbo].[T_SCTEMPORARYCARD] DROP CONSTRAINT [FK_99078805_99078803];


GO
PRINT N'Dropping [dbo].[FK_402841905_402841903]...';


GO
ALTER TABLE [dbo].[T_KKGYOGYPEDVEGZETTSEG] DROP CONSTRAINT [FK_402841905_402841903];


GO
PRINT N'Dropping [dbo].[FK_394046705_394046703]...';


GO
ALTER TABLE [dbo].[T_DIGESTEMAILMESSAGE] DROP CONSTRAINT [FK_394046705_394046703];


GO
PRINT N'Dropping [dbo].[FK_402783305_402783303]...';


GO
ALTER TABLE [dbo].[T_OGORARENDIORA] DROP CONSTRAINT [FK_402783305_402783303];


GO
PRINT N'Dropping [dbo].[FK_402529405_402529403]...';


GO
ALTER TABLE [dbo].[T_OSZTALY] DROP CONSTRAINT [FK_402529405_402529403];


GO
PRINT N'Dropping [dbo].[FK_402586305_402586303]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOERTESITES] DROP CONSTRAINT [FK_402586305_402586303];


GO
PRINT N'Dropping [dbo].[FK_402601005_402601003]...';


GO
ALTER TABLE [dbo].[T_FELADATELLATASIHELY] DROP CONSTRAINT [FK_402601005_402601003];


GO
PRINT N'Dropping [dbo].[FK_4025602_4025601]...';


GO
ALTER TABLE [dbo].[T_TANITASIORA] DROP CONSTRAINT [FK_4025602_4025601];


GO
PRINT N'Dropping [dbo].[FK_4025597_4025595]...';


GO
ALTER TABLE [dbo].[T_TANMENET] DROP CONSTRAINT [FK_4025597_4025595];


GO
PRINT N'Dropping [dbo].[FK_4025605_4025604]...';


GO
ALTER TABLE [dbo].[T_TANMENET] DROP CONSTRAINT [FK_4025605_4025604];


GO
PRINT N'Dropping [dbo].[FK_402555602_402555600]...';


GO
ALTER TABLE [dbo].[T_TANMENET] DROP CONSTRAINT [FK_402555602_402555600];


GO
PRINT N'Dropping [dbo].[FK_402551802_402551800]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] DROP CONSTRAINT [FK_402551802_402551800];


GO
PRINT N'Dropping [dbo].[FK_4025527_4025525]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] DROP CONSTRAINT [FK_4025527_4025525];


GO
PRINT N'Dropping [dbo].[FK_4025518_4028359]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] DROP CONSTRAINT [FK_4025518_4028359];


GO
PRINT N'Dropping [dbo].[FK_4025518_4028360]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] DROP CONSTRAINT [FK_4025518_4028360];


GO
PRINT N'Dropping [dbo].[FK_4025518_4028361]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] DROP CONSTRAINT [FK_4025518_4028361];


GO
PRINT N'Dropping [dbo].[FK_4025518_4028362]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] DROP CONSTRAINT [FK_4025518_4028362];


GO
PRINT N'Starting rebuilding table [dbo].[T_ERTEKELESMONDATBANK]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_ERTEKELESMONDATBANK] (
    [ID]                  INT            IDENTITY (1, 1) NOT NULL,
    [C_ERTEKELESTIPUSA]   INT            NULL,
    [C_EVFOLYAMTIPUSA]    INT            NULL,
    [C_ROVIDNEV]          NVARCHAR (3)   NULL,
    [C_SZOVEG]            NVARCHAR (MAX) NOT NULL,
    [C_TIPUSID]           INT            NOT NULL,
    [C_IMPORTALT]         CHAR (1)       DEFAULT ('F') NOT NULL,
    [C_TANTARGYID]        INT            NULL,
    [C_INTEZMENYID]       INT            NOT NULL,
    [C_TANEVID]           INT            NOT NULL,
    [TOROLT]              CHAR (1)       DEFAULT ('F') NOT NULL,
    [SERIAL]              INT            DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]         DATETIME       DEFAULT (getdate()) NOT NULL,
    [CREATED]             DATETIME       DEFAULT (getdate()) NOT NULL,
    [MODIFIER]            INT            NULL,
    [CREATOR]             INT            NULL,
    [ELOZOTANEVIREKORDID] INT            NULL,
    [NNID]                INT            NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40279151] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_ERTEKELESMONDATBANK])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_ERTEKELESMONDATBANK] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_ERTEKELESMONDATBANK] ([ID], [C_ERTEKELESTIPUSA], [C_EVFOLYAMTIPUSA], [C_ROVIDNEV], [C_SZOVEG], [C_TIPUSID], [C_TANTARGYID], [C_INTEZMENYID], [C_TANEVID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID])
        SELECT   [ID],
                 [C_ERTEKELESTIPUSA],
                 [C_EVFOLYAMTIPUSA],
                 [C_ROVIDNEV],
                 [C_SZOVEG],
                 [C_TIPUSID],
                 [C_TANTARGYID],
                 [C_INTEZMENYID],
                 [C_TANEVID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID]
        FROM     [dbo].[T_ERTEKELESMONDATBANK]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_ERTEKELESMONDATBANK] OFF;
    END

DROP TABLE [dbo].[T_ERTEKELESMONDATBANK];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_ERTEKELESMONDATBANK]', N'T_ERTEKELESMONDATBANK';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40279151]', N'PK_T_4027915', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_ERTEKELESMONDATBANK].[I_T_4027915_4027916]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4027915_4027916]
    ON [dbo].[T_ERTEKELESMONDATBANK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_ERTEKELESTIPUSA] ASC);


GO
PRINT N'Creating [dbo].[T_ERTEKELESMONDATBANK].[I_T_4027915_4027917]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4027915_4027917]
    ON [dbo].[T_ERTEKELESMONDATBANK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_EVFOLYAMTIPUSA] ASC);


GO
PRINT N'Creating [dbo].[T_ERTEKELESMONDATBANK].[I_T_4027915_4028466]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4027915_4028466]
    ON [dbo].[T_ERTEKELESMONDATBANK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_TIPUSID] ASC);


GO
PRINT N'Creating [dbo].[T_ERTEKELESMONDATBANK].[I_T_4027923_4027921]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4027923_4027921]
    ON [dbo].[T_ERTEKELESMONDATBANK]([C_TANTARGYID] ASC);


GO
PRINT N'Creating [dbo].[T_ERTEKELESMONDATBANK].[I_T_402791502_402791500]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402791502_402791500]
    ON [dbo].[T_ERTEKELESMONDATBANK]([C_INTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_ERTEKELESMONDATBANK].[I_T_402791505_402791503]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402791505_402791503]
    ON [dbo].[T_ERTEKELESMONDATBANK]([C_TANEVID] ASC);


GO
PRINT N'Starting rebuilding table [dbo].[T_ESZKOZ]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_ESZKOZ] (
    [ID]                     INT            IDENTITY (1, 1) NOT NULL,
    [C_BERELT]               CHAR (1)       NULL,
    [C_BESZERZESDATUM]       DATETIME       NULL,
    [C_BESZERZESIAR]         INT            NULL,
    [C_DARABSZAM]            INT            NULL,
    [C_FOKONYVISZAM]         NVARCHAR (255) NULL,
    [C_GYARISZAM]            NVARCHAR (255) NULL,
    [C_GYARTASIEV]           INT            NULL,
    [C_HALOZATIKAPCSOLAT]    CHAR (1)       NULL,
    [C_HORDOZHATO]           CHAR (1)       NULL,
    [C_INTERNETKAPCSOLAT]    CHAR (1)       NULL,
    [C_KATEGORIA]            INT            NULL,
    [C_LELTARISZAM]          NVARCHAR (200) NULL,
    [C_MEGJEGYZES]           NVARCHAR (255) NULL,
    [C_MULTIMEDIAS]          CHAR (1)       NULL,
    [C_NEV]                  NVARCHAR (255) NOT NULL,
    [C_PEDAGOGUSHOZZAFERHET] CHAR (1)       NULL,
    [C_SZALLITO]             NVARCHAR (255) NULL,
    [C_TANULOHOZZAFERHET]    CHAR (1)       NULL,
    [C_TARTOZEK]             CHAR (1)       DEFAULT ('F') NULL,
    [C_TARTOZEKHIVATKOZAS]   NVARCHAR (20)  NULL,
    [C_TIPUS]                INT            NULL,
    [C_CELJA]                INT            NULL,
    [C_JELLEGE]              INT            NULL,
    [C_MENNYISEGIEGYSEG]     INT            NULL,
    [C_VONALKOD]             NVARCHAR (128) NULL,
    [C_NEMMUKODIK]           CHAR (1)       DEFAULT ('F') NULL,
    [C_IMPORTALT]            CHAR (1)       DEFAULT ('F') NOT NULL,
    [C_TEREMID]              INT            NOT NULL,
    [C_FELELOSID]            INT            NULL,
    [C_INTEZMENYID]          INT            NOT NULL,
    [C_TANEVID]              INT            NOT NULL,
    [TOROLT]                 CHAR (1)       DEFAULT ('F') NOT NULL,
    [SERIAL]                 INT            DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]            DATETIME       DEFAULT (getdate()) NOT NULL,
    [CREATED]                DATETIME       DEFAULT (getdate()) NOT NULL,
    [MODIFIER]               INT            NULL,
    [CREATOR]                INT            NULL,
    [ELOZOTANEVIREKORDID]    INT            NULL,
    [NNID]                   INT            NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40250981] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_ESZKOZ])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_ESZKOZ] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_ESZKOZ] ([ID], [C_BERELT], [C_BESZERZESDATUM], [C_BESZERZESIAR], [C_DARABSZAM], [C_FOKONYVISZAM], [C_GYARISZAM], [C_GYARTASIEV], [C_HALOZATIKAPCSOLAT], [C_HORDOZHATO], [C_INTERNETKAPCSOLAT], [C_KATEGORIA], [C_LELTARISZAM], [C_MEGJEGYZES], [C_MULTIMEDIAS], [C_NEV], [C_PEDAGOGUSHOZZAFERHET], [C_SZALLITO], [C_TANULOHOZZAFERHET], [C_TARTOZEK], [C_TARTOZEKHIVATKOZAS], [C_TIPUS], [C_CELJA], [C_JELLEGE], [C_MENNYISEGIEGYSEG], [C_VONALKOD], [C_NEMMUKODIK], [C_TEREMID], [C_FELELOSID], [C_INTEZMENYID], [C_TANEVID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID])
        SELECT   [ID],
                 [C_BERELT],
                 [C_BESZERZESDATUM],
                 [C_BESZERZESIAR],
                 [C_DARABSZAM],
                 [C_FOKONYVISZAM],
                 [C_GYARISZAM],
                 [C_GYARTASIEV],
                 [C_HALOZATIKAPCSOLAT],
                 [C_HORDOZHATO],
                 [C_INTERNETKAPCSOLAT],
                 [C_KATEGORIA],
                 [C_LELTARISZAM],
                 [C_MEGJEGYZES],
                 [C_MULTIMEDIAS],
                 [C_NEV],
                 [C_PEDAGOGUSHOZZAFERHET],
                 [C_SZALLITO],
                 [C_TANULOHOZZAFERHET],
                 [C_TARTOZEK],
                 [C_TARTOZEKHIVATKOZAS],
                 [C_TIPUS],
                 [C_CELJA],
                 [C_JELLEGE],
                 [C_MENNYISEGIEGYSEG],
                 [C_VONALKOD],
                 [C_NEMMUKODIK],
                 [C_TEREMID],
                 [C_FELELOSID],
                 [C_INTEZMENYID],
                 [C_TANEVID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID]
        FROM     [dbo].[T_ESZKOZ]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_ESZKOZ] OFF;
    END

DROP TABLE [dbo].[T_ESZKOZ];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_ESZKOZ]', N'T_ESZKOZ';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40250981]', N'PK_T_4025098', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_4025098_4025109]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025098_4025109]
    ON [dbo].[T_ESZKOZ]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_KATEGORIA] ASC);


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_4025098_4025119]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025098_4025119]
    ON [dbo].[T_ESZKOZ]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_TIPUS] ASC);


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_4025098_4025247]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025098_4025247]
    ON [dbo].[T_ESZKOZ]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_CELJA] ASC);


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_4025098_4025248]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025098_4025248]
    ON [dbo].[T_ESZKOZ]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_JELLEGE] ASC);


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_4025098_4025249]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025098_4025249]
    ON [dbo].[T_ESZKOZ]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_MENNYISEGIEGYSEG] ASC);


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_4025130_4025128]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025130_4025128]
    ON [dbo].[T_ESZKOZ]([C_TEREMID] ASC);


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_4025281_4025280]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025281_4025280]
    ON [dbo].[T_ESZKOZ]([C_FELELOSID] ASC);


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_402509802_402509800]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402509802_402509800]
    ON [dbo].[T_ESZKOZ]([C_INTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_ESZKOZ].[I_T_402509805_402509803]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402509805_402509803]
    ON [dbo].[T_ESZKOZ]([C_TANEVID] ASC);


GO
PRINT N'Starting rebuilding table [dbo].[T_FELHASZNALO]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_FELHASZNALO] (
    [ID]                         INT             IDENTITY (1, 1) NOT NULL,
    [C_NEME]                     INT             NOT NULL,
    [C_SZULETESIDATUM]           DATETIME        NOT NULL,
    [C_SZULETESINEV]             NVARCHAR (64)   NOT NULL,
    [C_ANYJANEVE]                NVARCHAR (64)   NOT NULL,
    [C_SZULETESIHELY]            NVARCHAR (50)   NULL,
    [C_TAJSZAM]                  NVARCHAR (9)    NULL,
    [C_ALLAMPOLGARSAGA]          INT             NOT NULL,
    [C_LEIRAS]                   NVARCHAR (2000) NULL,
    [C_KERESESINEV]              NVARCHAR (61)   NULL,
    [C_SZULETESIORSZAG]          INT             NOT NULL,
    [C_SZULETESINEVSORREND]      CHAR (1)        DEFAULT ('T') NOT NULL,
    [C_ANYJANEVESORREND]         CHAR (1)        DEFAULT ('T') NOT NULL,
    [C_ALAPERTELMEZETTLCID]      INT             NULL,
    [C_LATASSERULTWEBHASZNALATA] CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_SMSSZAM]                  INT             NULL,
    [C_SMSSZINKRONIZALT]         CHAR (1)        DEFAULT ('F') NULL,
    [C_KELLADSZINKRONIZALAS]     CHAR (1)        DEFAULT ('T') NOT NULL,
    [C_SZULETESINEVELVALASZTO]   INT             DEFAULT ((0)) NOT NULL,
    [C_ANYJANEVEELVALASZTO]      INT             DEFAULT ((0)) NOT NULL,
    [C_DMSTARTTIME]              NVARCHAR (5)    NULL,
    [C_NYOMTATASINEV]            NVARCHAR (255)  NOT NULL,
    [C_UTONEV]                   NVARCHAR (255)  NULL,
    [C_VEZETEKNEV]               NVARCHAR (255)  NULL,
    [C_ADOSZAM]                  NVARCHAR (10)   NULL,
    [C_ELOTAG]                   NVARCHAR (20)   NULL,
    [C_ANYANYELVE]               INT             NULL,
    [C_IGAZOLVANYSZAM]           NVARCHAR (50)   NULL,
    [C_IGAZOLVANYTIPUSA]         INT             NULL,
    [C_NEVSORREND]               CHAR (1)        DEFAULT ('T') NULL,
    [C_NYILVANTARTASISZAM]       NVARCHAR (50)   NULL,
    [C_NYILVANTARTASKEZDETE]     DATETIME        NOT NULL,
    [C_OKTATASIAZONOSITO]        NVARCHAR (20)   NULL,
    [C_OMKOD]                    NVARCHAR (20)   NULL,
    [C_ALAIRAS]                  NVARCHAR (MAX)  NULL,
    [C_PROFILKEP]                VARBINARY (MAX) NULL,
    [C_KRETAKOD]                 NVARCHAR (6)    NULL,
    [C_KIRAZONOSITO]             NVARCHAR (20)   NULL,
    [C_ALLAMPOLGARSAGA2]         INT             NULL,
    [C_FENNTARTOAZONOSITO]       NVARCHAR (20)   NULL,
    [C_IMPORTALT]                CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_INTEZMENYID]              INT             NOT NULL,
    [C_TANEVID]                  INT             NOT NULL,
    [TOROLT]                     CHAR (1)        DEFAULT ('F') NOT NULL,
    [SERIAL]                     INT             DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]                DATETIME        DEFAULT (getdate()) NOT NULL,
    [CREATED]                    DATETIME        DEFAULT (getdate()) NOT NULL,
    [MODIFIER]                   INT             NULL,
    [CREATOR]                    INT             NULL,
    [ELOZOTANEVIREKORDID]        INT             NULL,
    [NNID]                       INT             NULL,
    [FTIP]                       VARCHAR (2)     NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_89351] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_FELHASZNALO])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_FELHASZNALO] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_FELHASZNALO] ([ID], [C_NEME], [C_SZULETESIDATUM], [C_SZULETESINEV], [C_ANYJANEVE], [C_SZULETESIHELY], [C_TAJSZAM], [C_ALLAMPOLGARSAGA], [C_LEIRAS], [C_KERESESINEV], [C_SZULETESIORSZAG], [C_SZULETESINEVSORREND], [C_ANYJANEVESORREND], [C_ALAPERTELMEZETTLCID], [C_LATASSERULTWEBHASZNALATA], [C_SMSSZAM], [C_SMSSZINKRONIZALT], [C_KELLADSZINKRONIZALAS], [C_SZULETESINEVELVALASZTO], [C_ANYJANEVEELVALASZTO], [C_DMSTARTTIME], [C_NYOMTATASINEV], [C_UTONEV], [C_VEZETEKNEV], [C_ADOSZAM], [C_ELOTAG], [C_ANYANYELVE], [C_IGAZOLVANYSZAM], [C_IGAZOLVANYTIPUSA], [C_NEVSORREND], [C_NYILVANTARTASISZAM], [C_NYILVANTARTASKEZDETE], [C_OKTATASIAZONOSITO], [C_OMKOD], [C_ALAIRAS], [C_PROFILKEP], [C_KRETAKOD], [C_KIRAZONOSITO], [C_ALLAMPOLGARSAGA2], [C_FENNTARTOAZONOSITO], [C_INTEZMENYID], [C_TANEVID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID], [FTIP])
        SELECT   [ID],
                 [C_NEME],
                 [C_SZULETESIDATUM],
                 [C_SZULETESINEV],
                 [C_ANYJANEVE],
                 [C_SZULETESIHELY],
                 [C_TAJSZAM],
                 [C_ALLAMPOLGARSAGA],
                 [C_LEIRAS],
                 [C_KERESESINEV],
                 [C_SZULETESIORSZAG],
                 [C_SZULETESINEVSORREND],
                 [C_ANYJANEVESORREND],
                 [C_ALAPERTELMEZETTLCID],
                 [C_LATASSERULTWEBHASZNALATA],
                 [C_SMSSZAM],
                 [C_SMSSZINKRONIZALT],
                 [C_KELLADSZINKRONIZALAS],
                 [C_SZULETESINEVELVALASZTO],
                 [C_ANYJANEVEELVALASZTO],
                 [C_DMSTARTTIME],
                 [C_NYOMTATASINEV],
                 [C_UTONEV],
                 [C_VEZETEKNEV],
                 [C_ADOSZAM],
                 [C_ELOTAG],
                 [C_ANYANYELVE],
                 [C_IGAZOLVANYSZAM],
                 [C_IGAZOLVANYTIPUSA],
                 [C_NEVSORREND],
                 [C_NYILVANTARTASISZAM],
                 [C_NYILVANTARTASKEZDETE],
                 [C_OKTATASIAZONOSITO],
                 [C_OMKOD],
                 [C_ALAIRAS],
                 [C_PROFILKEP],
                 [C_KRETAKOD],
                 [C_KIRAZONOSITO],
                 [C_ALLAMPOLGARSAGA2],
                 [C_FENNTARTOAZONOSITO],
                 [C_INTEZMENYID],
                 [C_TANEVID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID],
                 [FTIP]
        FROM     [dbo].[T_FELHASZNALO]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_FELHASZNALO] OFF;
    END

DROP TABLE [dbo].[T_FELHASZNALO];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_FELHASZNALO]', N'T_FELHASZNALO';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_89351]', N'PK_T_8935', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[I_T_8935_9951]...';


GO
CREATE NONCLUSTERED INDEX [I_T_8935_9951]
    ON [dbo].[T_FELHASZNALO]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_NEME] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[I_T_8935_32780]...';


GO
CREATE NONCLUSTERED INDEX [I_T_8935_32780]
    ON [dbo].[T_FELHASZNALO]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_ALLAMPOLGARSAGA] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[I_T_8935_41892]...';


GO
CREATE NONCLUSTERED INDEX [I_T_8935_41892]
    ON [dbo].[T_FELHASZNALO]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_SZULETESIORSZAG] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[I_T_8935_4025149]...';


GO
CREATE NONCLUSTERED INDEX [I_T_8935_4025149]
    ON [dbo].[T_FELHASZNALO]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_ANYANYELVE] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[I_T_8935_4025151]...';


GO
CREATE NONCLUSTERED INDEX [I_T_8935_4025151]
    ON [dbo].[T_FELHASZNALO]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_IGAZOLVANYTIPUSA] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[I_T_8935_4026210]...';


GO
CREATE NONCLUSTERED INDEX [I_T_8935_4026210]
    ON [dbo].[T_FELHASZNALO]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_ALLAMPOLGARSAGA2] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[I_T_893502_893500]...';


GO
CREATE NONCLUSTERED INDEX [I_T_893502_893500]
    ON [dbo].[T_FELHASZNALO]([C_INTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[I_T_893505_893503]...';


GO
CREATE NONCLUSTERED INDEX [I_T_893505_893503]
    ON [dbo].[T_FELHASZNALO]([C_TANEVID] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALO].[NCI_Felhasznalo_IntezmenyId_Id]...';


GO
CREATE NONCLUSTERED INDEX [NCI_Felhasznalo_IntezmenyId_Id]
    ON [dbo].[T_FELHASZNALO]([C_INTEZMENYID] ASC, [ID] ASC)
    INCLUDE([C_NYOMTATASINEV], [C_TANEVID]) WHERE ([TOROLT]='F') WITH (FILLFACTOR = 80);


GO
PRINT N'Starting rebuilding table [dbo].[T_FELHASZNALOBELEPES]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_FELHASZNALOBELEPES] (
    [ID]                          INT            IDENTITY (1, 1) NOT NULL,
    [C_KOTELEZOVALTOZTATNI]       CHAR (1)       DEFAULT ('T') NULL,
    [C_MEGHIUSULTBELEPESEK]       INT            NULL,
    [C_UTOLSOBELEPES]             DATETIME       NULL,
    [C_JELSZO]                    NVARCHAR (64)  NULL,
    [C_JELSZOVALTOZTATASIDEJE]    DATETIME       NULL,
    [C_SO]                        NVARCHAR (64)  NULL,
    [C_BEJELENTKEZESINEV]         NVARCHAR (255) NOT NULL,
    [C_NEPTUNNAPLOJELSZO]         NVARCHAR (64)  NULL,
    [C_GUID]                      NVARCHAR (36)  NOT NULL,
    [C_ELFOGADOTTGDPRNYILATKOZAT] CHAR (1)       DEFAULT ('F') NOT NULL,
    [C_GDPRELFOGADASDATUMA]       DATETIME       NULL,
    [C_IMPORTALT]                 CHAR (1)       DEFAULT ('F') NOT NULL,
    [C_FELHASZNALOID]             INT            NOT NULL,
    [C_GONDVISELOID]              INT            NULL,
    [C_INTEZMENYID]               INT            NOT NULL,
    [C_TANEVID]                   INT            NOT NULL,
    [TOROLT]                      CHAR (1)       DEFAULT ('F') NOT NULL,
    [SERIAL]                      INT            DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]                 DATETIME       DEFAULT (getdate()) NOT NULL,
    [CREATED]                     DATETIME       DEFAULT (getdate()) NOT NULL,
    [MODIFIER]                    INT            NULL,
    [CREATOR]                     INT            NULL,
    [ELOZOTANEVIREKORDID]         INT            NULL,
    [NNID]                        INT            NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40250221] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_FELHASZNALOBELEPES])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_FELHASZNALOBELEPES] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_FELHASZNALOBELEPES] ([ID], [C_KOTELEZOVALTOZTATNI], [C_MEGHIUSULTBELEPESEK], [C_UTOLSOBELEPES], [C_JELSZO], [C_JELSZOVALTOZTATASIDEJE], [C_SO], [C_BEJELENTKEZESINEV], [C_NEPTUNNAPLOJELSZO], [C_GUID], [C_ELFOGADOTTGDPRNYILATKOZAT], [C_GDPRELFOGADASDATUMA], [C_FELHASZNALOID], [C_GONDVISELOID], [C_INTEZMENYID], [C_TANEVID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID])
        SELECT   [ID],
                 [C_KOTELEZOVALTOZTATNI],
                 [C_MEGHIUSULTBELEPESEK],
                 [C_UTOLSOBELEPES],
                 [C_JELSZO],
                 [C_JELSZOVALTOZTATASIDEJE],
                 [C_SO],
                 [C_BEJELENTKEZESINEV],
                 [C_NEPTUNNAPLOJELSZO],
                 [C_GUID],
                 [C_ELFOGADOTTGDPRNYILATKOZAT],
                 [C_GDPRELFOGADASDATUMA],
                 [C_FELHASZNALOID],
                 [C_GONDVISELOID],
                 [C_INTEZMENYID],
                 [C_TANEVID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID]
        FROM     [dbo].[T_FELHASZNALOBELEPES]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_FELHASZNALOBELEPES] OFF;
    END

DROP TABLE [dbo].[T_FELHASZNALOBELEPES];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_FELHASZNALOBELEPES]', N'T_FELHASZNALOBELEPES';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40250221]', N'PK_T_4025022', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_FELHASZNALOBELEPES].[I_T_4025031_4025029]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025031_4025029]
    ON [dbo].[T_FELHASZNALOBELEPES]([C_FELHASZNALOID] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALOBELEPES].[I_T_4025187_4025186]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025187_4025186]
    ON [dbo].[T_FELHASZNALOBELEPES]([C_GONDVISELOID] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALOBELEPES].[I_T_402502202_402502200]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402502202_402502200]
    ON [dbo].[T_FELHASZNALOBELEPES]([C_INTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALOBELEPES].[I_T_402502205_402502203]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402502205_402502203]
    ON [dbo].[T_FELHASZNALOBELEPES]([C_TANEVID] ASC);


GO
PRINT N'Creating [dbo].[T_FELHASZNALOBELEPES].[UK_4025364]...';


GO
CREATE UNIQUE NONCLUSTERED INDEX [UK_4025364]
    ON [dbo].[T_FELHASZNALOBELEPES]([C_BEJELENTKEZESINEV] ASC, [C_INTEZMENYID] ASC, [C_TANEVID] ASC) WHERE ([TOROLT]='F');


GO
PRINT N'Starting rebuilding table [dbo].[T_MUNKAUGYIADATOK]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_MUNKAUGYIADATOK] (
    [ID]                            INT             IDENTITY (1, 1) NOT NULL,
    [C_ALKALMAZASKEZDETE]           DATETIME        NULL,
    [C_ALKALMAZASMEGSZUNESE]        DATETIME        NULL,
    [C_KOTELEZOORASZAM]             NUMERIC (10, 2) NOT NULL,
    [C_MUNKAIDOKEDVEZMENYORASZAM]   NUMERIC (10, 2) NULL,
    [C_MUNKAKORTIPUSA]              INT             NULL,
    [C_MUNKAVISZONYTIPUSA]          INT             NULL,
    [C_BETOLTETLENALLASHELY]        CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_MUNKAIDOKEDVEZMENYOKASZOVEG] NVARCHAR (MAX)  NULL,
    [C_TARTOSHELYETTESITES]         CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_PEDAGOGUSSTATUSZA]           INT             NULL,
    [C_BESOROLASIFOKOZAT]           INT             NULL,
    [C_MUNKAIDOKEDVEZMENYOKA]       INT             NULL,
    [C_NYUGDIJAS]                   CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_RESZMUNKAIDOSZAZALEK]        INT             DEFAULT ((100)) NULL,
    [C_FOGLALKOZTATASTIPUS]         INT             NULL,
    [C_VEZETOIORASZAMOK]            INT             NULL,
    [C_UTAZOGYOGYPEDAGOGUS]         CHAR (1)        DEFAULT ('F') NULL,
    [C_CSOKKENTETTMUNKAIDOS]        CHAR (1)        DEFAULT ('F') NULL,
    [C_SZAKERTOMESTERPEDAGOGUS]     CHAR (1)        DEFAULT ('F') NULL,
    [C_SZABADALLASHELY]             CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_ATTANITO]                    CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_ATTANITOMASINTEZMENYNEL]     CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_IMPORTALT]                   CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_FELADATELLATASIHELYID]       INT             NULL,
    [C_ALKALMAZOTTID]               INT             NOT NULL,
    [C_INTEZMENYID]                 INT             NOT NULL,
    [C_TANEVID]                     INT             NOT NULL,
    [TOROLT]                        CHAR (1)        DEFAULT ('F') NOT NULL,
    [SERIAL]                        INT             DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]                   DATETIME        DEFAULT (getdate()) NOT NULL,
    [CREATED]                       DATETIME        DEFAULT (getdate()) NOT NULL,
    [MODIFIER]                      INT             NULL,
    [CREATOR]                       INT             NULL,
    [ELOZOTANEVIREKORDID]           INT             NULL,
    [NNID]                          INT             NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40261161] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_MUNKAUGYIADATOK])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_MUNKAUGYIADATOK] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_MUNKAUGYIADATOK] ([ID], [C_ALKALMAZASKEZDETE], [C_ALKALMAZASMEGSZUNESE], [C_KOTELEZOORASZAM], [C_MUNKAIDOKEDVEZMENYORASZAM], [C_MUNKAKORTIPUSA], [C_MUNKAVISZONYTIPUSA], [C_BETOLTETLENALLASHELY], [C_MUNKAIDOKEDVEZMENYOKASZOVEG], [C_TARTOSHELYETTESITES], [C_PEDAGOGUSSTATUSZA], [C_BESOROLASIFOKOZAT], [C_MUNKAIDOKEDVEZMENYOKA], [C_NYUGDIJAS], [C_RESZMUNKAIDOSZAZALEK], [C_FOGLALKOZTATASTIPUS], [C_VEZETOIORASZAMOK], [C_UTAZOGYOGYPEDAGOGUS], [C_CSOKKENTETTMUNKAIDOS], [C_SZAKERTOMESTERPEDAGOGUS], [C_SZABADALLASHELY], [C_ATTANITO], [C_ATTANITOMASINTEZMENYNEL], [C_FELADATELLATASIHELYID], [C_ALKALMAZOTTID], [C_INTEZMENYID], [C_TANEVID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID])
        SELECT   [ID],
                 [C_ALKALMAZASKEZDETE],
                 [C_ALKALMAZASMEGSZUNESE],
                 [C_KOTELEZOORASZAM],
                 [C_MUNKAIDOKEDVEZMENYORASZAM],
                 [C_MUNKAKORTIPUSA],
                 [C_MUNKAVISZONYTIPUSA],
                 [C_BETOLTETLENALLASHELY],
                 [C_MUNKAIDOKEDVEZMENYOKASZOVEG],
                 [C_TARTOSHELYETTESITES],
                 [C_PEDAGOGUSSTATUSZA],
                 [C_BESOROLASIFOKOZAT],
                 [C_MUNKAIDOKEDVEZMENYOKA],
                 [C_NYUGDIJAS],
                 [C_RESZMUNKAIDOSZAZALEK],
                 [C_FOGLALKOZTATASTIPUS],
                 [C_VEZETOIORASZAMOK],
                 [C_UTAZOGYOGYPEDAGOGUS],
                 [C_CSOKKENTETTMUNKAIDOS],
                 [C_SZAKERTOMESTERPEDAGOGUS],
                 [C_SZABADALLASHELY],
                 [C_ATTANITO],
                 [C_ATTANITOMASINTEZMENYNEL],
                 [C_FELADATELLATASIHELYID],
                 [C_ALKALMAZOTTID],
                 [C_INTEZMENYID],
                 [C_TANEVID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID]
        FROM     [dbo].[T_MUNKAUGYIADATOK]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_MUNKAUGYIADATOK] OFF;
    END

DROP TABLE [dbo].[T_MUNKAUGYIADATOK];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_MUNKAUGYIADATOK]', N'T_MUNKAUGYIADATOK';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40261161]', N'PK_T_4026116', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026116_4026121]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026116_4026121]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_MUNKAKORTIPUSA] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026116_4026122]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026116_4026122]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_MUNKAVISZONYTIPUSA] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026116_4026343]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026116_4026343]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_PEDAGOGUSSTATUSZA] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026116_4026352]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026116_4026352]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_BESOROLASIFOKOZAT] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026116_4026365]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026116_4026365]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_MUNKAIDOKEDVEZMENYOKA] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026116_4027631]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026116_4027631]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_FOGLALKOZTATASTIPUS] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026116_4027635]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026116_4027635]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_VEZETOIORASZAMOK] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026125_4026124]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026125_4026124]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_FELADATELLATASIHELYID] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_4026129_4026127]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026129_4026127]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_ALKALMAZOTTID] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_402611602_402611600]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402611602_402611600]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_INTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_MUNKAUGYIADATOK].[I_T_402611605_402611603]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402611605_402611603]
    ON [dbo].[T_MUNKAUGYIADATOK]([C_TANEVID] ASC);


GO
PRINT N'Starting rebuilding table [dbo].[T_OKTATASINEVELESIFELADAT]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_OKTATASINEVELESIFELADAT] (
    [ID]                   INT      NOT NULL,
    [C_FELADATKATEGORIAID] INT      NULL,
    [C_ALINTEZMENYID]      INT      NOT NULL,
    [C_ALTANEVID]          INT      NOT NULL,
    [TOROLT]               CHAR (1) DEFAULT ('F') NOT NULL,
    [SERIAL]               INT      DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]          DATETIME DEFAULT (getdate()) NOT NULL,
    [CREATED]              DATETIME DEFAULT (getdate()) NOT NULL,
    [MODIFIER]             INT      NULL,
    [CREATOR]              INT      NULL,
    [ELOZOTANEVIREKORDID]  INT      NULL,
    [ELOZOTANEVIREKORDIDA] INT      NULL,
    [NNID]                 INT      NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40253761] PRIMARY KEY CLUSTERED ([ID] ASC, [C_ALINTEZMENYID] ASC, [C_ALTANEVID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_OKTATASINEVELESIFELADAT])
    BEGIN
        INSERT INTO [dbo].[tmp_ms_xx_T_OKTATASINEVELESIFELADAT] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [ELOZOTANEVIREKORDIDA], [NNID])
        SELECT   [ID],
                 [C_ALINTEZMENYID],
                 [C_ALTANEVID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [ELOZOTANEVIREKORDIDA],
                 [NNID]
        FROM     [dbo].[T_OKTATASINEVELESIFELADAT]
        ORDER BY [ID] ASC, [C_ALINTEZMENYID] ASC, [C_ALTANEVID] ASC;
    END

DROP TABLE [dbo].[T_OKTATASINEVELESIFELADAT];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_OKTATASINEVELESIFELADAT]', N'T_OKTATASINEVELESIFELADAT';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40253761]', N'PK_T_4025376', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_OKTATASINEVELESIFELADAT].[I_T_4025376_4028592]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025376_4028592]
    ON [dbo].[T_OKTATASINEVELESIFELADAT]([C_ALINTEZMENYID] ASC, [C_ALTANEVID] ASC, [C_FELADATKATEGORIAID] ASC);


GO
PRINT N'Creating [dbo].[T_OKTATASINEVELESIFELADAT].[I_T_402537602_402537600]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402537602_402537600]
    ON [dbo].[T_OKTATASINEVELESIFELADAT]([C_ALINTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_OKTATASINEVELESIFELADAT].[I_T_402537605_402537603]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402537605_402537603]
    ON [dbo].[T_OKTATASINEVELESIFELADAT]([C_ALTANEVID] ASC);


GO
PRINT N'Starting rebuilding table [dbo].[T_OSZTALYCSOPORT]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_OSZTALYCSOPORT] (
    [ID]                      INT            IDENTITY (1, 1) NOT NULL,
    [C_MEGJEGYZES]            NVARCHAR (255) NULL,
    [C_NEV]                   NVARCHAR (255) NOT NULL,
    [C_VEGZOSEVFOLYAM]        CHAR (1)       DEFAULT ('F') NULL,
    [C_EVFOLYAMTIPUSA]        INT            NULL,
    [C_IMPORTALT]             CHAR (1)       DEFAULT ('F') NULL,
    [C_TERVEZETTLETSZAM]      INT            NULL,
    [C_KERESZTFELEVES]        CHAR (1)       DEFAULT ('F') NULL,
    [C_FELADATKATEGORIAID]    INT            NULL,
    [C_TEREMID]               INT            NULL,
    [C_FELADATELLATASIHELYID] INT            NOT NULL,
    [C_INTEZMENYID]           INT            NOT NULL,
    [C_TANEVID]               INT            NOT NULL,
    [TOROLT]                  CHAR (1)       DEFAULT ('F') NOT NULL,
    [SERIAL]                  INT            DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]             DATETIME       DEFAULT (getdate()) NOT NULL,
    [CREATED]                 DATETIME       DEFAULT (getdate()) NOT NULL,
    [MODIFIER]                INT            NULL,
    [CREATOR]                 INT            NULL,
    [ELOZOTANEVIREKORDID]     INT            NULL,
    [NNID]                    INT            NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40252961] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_OSZTALYCSOPORT])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_OSZTALYCSOPORT] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_OSZTALYCSOPORT] ([ID], [C_MEGJEGYZES], [C_NEV], [C_VEGZOSEVFOLYAM], [C_EVFOLYAMTIPUSA], [C_IMPORTALT], [C_TERVEZETTLETSZAM], [C_KERESZTFELEVES], [C_TEREMID], [C_FELADATELLATASIHELYID], [C_INTEZMENYID], [C_TANEVID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID])
        SELECT   [ID],
                 [C_MEGJEGYZES],
                 [C_NEV],
                 [C_VEGZOSEVFOLYAM],
                 [C_EVFOLYAMTIPUSA],
                 [C_IMPORTALT],
                 [C_TERVEZETTLETSZAM],
                 [C_KERESZTFELEVES],
                 [C_TEREMID],
                 [C_FELADATELLATASIHELYID],
                 [C_INTEZMENYID],
                 [C_TANEVID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID]
        FROM     [dbo].[T_OSZTALYCSOPORT]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_OSZTALYCSOPORT] OFF;
    END

DROP TABLE [dbo].[T_OSZTALYCSOPORT];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_OSZTALYCSOPORT]', N'T_OSZTALYCSOPORT';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40252961]', N'PK_T_4025296', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_OSZTALYCSOPORT].[I_T_4025296_4025418]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025296_4025418]
    ON [dbo].[T_OSZTALYCSOPORT]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_EVFOLYAMTIPUSA] ASC);


GO
PRINT N'Creating [dbo].[T_OSZTALYCSOPORT].[I_T_4025296_4028599]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025296_4028599]
    ON [dbo].[T_OSZTALYCSOPORT]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_FELADATKATEGORIAID] ASC);


GO
PRINT N'Creating [dbo].[T_OSZTALYCSOPORT].[I_T_4025954_4025953]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025954_4025953]
    ON [dbo].[T_OSZTALYCSOPORT]([C_TEREMID] ASC);


GO
PRINT N'Creating [dbo].[T_OSZTALYCSOPORT].[I_T_4026025_4026024]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026025_4026024]
    ON [dbo].[T_OSZTALYCSOPORT]([C_FELADATELLATASIHELYID] ASC);


GO
PRINT N'Creating [dbo].[T_OSZTALYCSOPORT].[I_T_402529602_402529600]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402529602_402529600]
    ON [dbo].[T_OSZTALYCSOPORT]([C_INTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_OSZTALYCSOPORT].[I_T_402529605_402529603]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402529605_402529603]
    ON [dbo].[T_OSZTALYCSOPORT]([C_TANEVID] ASC);


GO
PRINT N'Creating [dbo].[T_OSZTALYCSOPORT].[NCU_OsztalyCsoport_Nev_IntezmenyId_TanevId]...';


GO
CREATE UNIQUE NONCLUSTERED INDEX [NCU_OsztalyCsoport_Nev_IntezmenyId_TanevId]
    ON [dbo].[T_OSZTALYCSOPORT]([C_NEV] ASC, [C_INTEZMENYID] ASC, [C_TANEVID] ASC) WHERE ([TOROLT]='F');


GO
PRINT N'Creating [dbo].[T_OSZTALYCSOPORT].[NCI_OsztalyCsoport_TanevId_IntezmenyId]...';


GO
CREATE NONCLUSTERED INDEX [NCI_OsztalyCsoport_TanevId_IntezmenyId]
    ON [dbo].[T_OSZTALYCSOPORT]([C_TANEVID] ASC, [C_INTEZMENYID] ASC)
    INCLUDE([C_NEV], [C_VEGZOSEVFOLYAM]) WHERE ([TOROLT]='F') WITH (FILLFACTOR = 80);


GO
PRINT N'Starting rebuilding table [dbo].[T_TANEV]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_TANEV] (
    [ID]                          INT           IDENTITY (1, 1) NOT NULL,
    [C_AKTIV]                     CHAR (1)      DEFAULT ('F') NULL,
    [C_ELSOTANITASINAP]           DATETIME      NULL,
    [C_KEZDONAP]                  DATETIME      NULL,
    [C_KOVETKEZO]                 CHAR (1)      DEFAULT ('F') NULL,
    [C_NEV]                       NVARCHAR (20) NULL,
    [C_SORSZAM]                   INT           NULL,
    [C_UTOLSONAP]                 DATETIME      NULL,
    [C_UTOLSOTANITASINAP]         DATETIME      NULL,
    [C_AKTIVALVA]                 DATETIME      NULL,
    [C_DEFAULTFELADATKATEGORIAID] INT           DEFAULT ((7553)) NOT NULL,
    [C_INTEZMENYID]               INT           NOT NULL,
    [TOROLT]                      CHAR (1)      DEFAULT ('F') NOT NULL,
    [SERIAL]                      INT           DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]                 DATETIME      DEFAULT (getdate()) NOT NULL,
    [CREATED]                     DATETIME      DEFAULT (getdate()) NOT NULL,
    [MODIFIER]                    INT           NULL,
    [CREATOR]                     INT           NULL,
    [ELOZOTANEVIREKORDID]         INT           NULL,
    [NNID]                        INT           NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40253011] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_TANEV])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_TANEV] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_TANEV] ([ID], [C_AKTIV], [C_ELSOTANITASINAP], [C_KEZDONAP], [C_KOVETKEZO], [C_NEV], [C_SORSZAM], [C_UTOLSONAP], [C_UTOLSOTANITASINAP], [C_AKTIVALVA], [C_INTEZMENYID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID])
        SELECT   [ID],
                 [C_AKTIV],
                 [C_ELSOTANITASINAP],
                 [C_KEZDONAP],
                 [C_KOVETKEZO],
                 [C_NEV],
                 [C_SORSZAM],
                 [C_UTOLSONAP],
                 [C_UTOLSOTANITASINAP],
                 [C_AKTIVALVA],
                 [C_INTEZMENYID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID]
        FROM     [dbo].[T_TANEV]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_TANEV] OFF;
    END

DROP TABLE [dbo].[T_TANEV];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_TANEV]', N'T_TANEV';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40253011]', N'PK_T_4025301', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_TANEV].[I_T_4026254_4026253]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4026254_4026253]
    ON [dbo].[T_TANEV]([C_INTEZMENYID] ASC);


GO
PRINT N'Starting rebuilding table [dbo].[T_TANMENET]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_TANMENET] (
    [ID]                  INT             IDENTITY (1, 1) NOT NULL,
    [C_BEJEGYZESIDEJE]    DATETIME        NOT NULL,
    [C_MEGJEGYZES]        NVARCHAR (255)  NULL,
    [C_NEV]               NVARCHAR (1000) NOT NULL,
    [C_ROVIDNEV]          NVARCHAR (255)  NULL,
    [C_TEMA]              NVARCHAR (MAX)  NOT NULL,
    [C_ORASZAM]           INT             NOT NULL,
    [C_IMPORTALT]         CHAR (1)        DEFAULT ('F') NOT NULL,
    [C_TANTARGYID]        INT             NOT NULL,
    [C_OSZTALYCSOPORTID]  INT             NOT NULL,
    [C_FELTOLTOID]        INT             NOT NULL,
    [C_INTEZMENYID]       INT             NOT NULL,
    [C_TANEVID]           INT             NOT NULL,
    [TOROLT]              CHAR (1)        DEFAULT ('F') NOT NULL,
    [SERIAL]              INT             DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]         DATETIME        DEFAULT (getdate()) NOT NULL,
    [CREATED]             DATETIME        DEFAULT (getdate()) NOT NULL,
    [MODIFIER]            INT             NULL,
    [CREATOR]             INT             NULL,
    [ELOZOTANEVIREKORDID] INT             NULL,
    [NNID]                INT             NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40255561] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_TANMENET])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_TANMENET] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_TANMENET] ([ID], [C_BEJEGYZESIDEJE], [C_MEGJEGYZES], [C_NEV], [C_ROVIDNEV], [C_TEMA], [C_ORASZAM], [C_TANTARGYID], [C_OSZTALYCSOPORTID], [C_FELTOLTOID], [C_INTEZMENYID], [C_TANEVID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID])
        SELECT   [ID],
                 [C_BEJEGYZESIDEJE],
                 [C_MEGJEGYZES],
                 [C_NEV],
                 [C_ROVIDNEV],
                 [C_TEMA],
                 [C_ORASZAM],
                 [C_TANTARGYID],
                 [C_OSZTALYCSOPORTID],
                 [C_FELTOLTOID],
                 [C_INTEZMENYID],
                 [C_TANEVID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID]
        FROM     [dbo].[T_TANMENET]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_TANMENET] OFF;
    END

DROP TABLE [dbo].[T_TANMENET];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_TANMENET]', N'T_TANMENET';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40255561]', N'PK_T_4025556', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_TANMENET].[I_T_4025597_4025595]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025597_4025595]
    ON [dbo].[T_TANMENET]([C_TANTARGYID] ASC);


GO
PRINT N'Creating [dbo].[T_TANMENET].[I_T_4025599_4025598]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025599_4025598]
    ON [dbo].[T_TANMENET]([C_OSZTALYCSOPORTID] ASC);


GO
PRINT N'Creating [dbo].[T_TANMENET].[I_T_4025605_4025604]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025605_4025604]
    ON [dbo].[T_TANMENET]([C_FELTOLTOID] ASC);


GO
PRINT N'Creating [dbo].[T_TANMENET].[I_T_402555602_402555600]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402555602_402555600]
    ON [dbo].[T_TANMENET]([C_INTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_TANMENET].[I_T_402555605_402555603]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402555605_402555603]
    ON [dbo].[T_TANMENET]([C_TANEVID] ASC);


GO
PRINT N'Creating [dbo].[T_TANMENET].[NCI_TantargyId_OsztalyCsoportId_IntezmenyId_TanevId_OraSzam]...';


GO
CREATE NONCLUSTERED INDEX [NCI_TantargyId_OsztalyCsoportId_IntezmenyId_TanevId_OraSzam]
    ON [dbo].[T_TANMENET]([C_TANTARGYID] ASC, [C_OSZTALYCSOPORTID] ASC, [C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_ORASZAM] ASC) WHERE ([TOROLT]='F') WITH (FILLFACTOR = 80);


GO
PRINT N'Starting rebuilding table [dbo].[T_TANULOCSOPORT]...';


GO
BEGIN TRANSACTION;

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET XACT_ABORT ON;

CREATE TABLE [dbo].[tmp_ms_xx_T_TANULOCSOPORT] (
    [ID]                     INT            IDENTITY (1, 1) NOT NULL,
    [C_BEJEGYZESIDOPONTJA]   DATETIME       NOT NULL,
    [C_BELEPESDATUM]         DATETIME       NULL,
    [C_KILEPESDATUM]         DATETIME       NULL,
    [C_ZARADEK]              NVARCHAR (MAX) NULL,
    [C_BEFOGADOINTEZMENY]    NVARCHAR (255) NULL,
    [C_MEGJEGYZES]           NVARCHAR (255) NULL,
    [C_NAPLOSORSZAM]         INT            NULL,
    [C_TORZSLAPSZAM]         NVARCHAR (500) NULL,
    [C_VEGZARADEK]           NVARCHAR (MAX) NULL,
    [C_AGAZAT]               INT            NULL,
    [C_RESZSZAKKEPESITES]    INT            NULL,
    [C_SZAKKEPESITES]        INT            NULL,
    [C_SZAKMACSOPORT]        INT            NULL,
    [C_KILEPESROGZITESDATUM] DATETIME       NULL,
    [C_IMPORTALT]            CHAR (1)       DEFAULT ('F') NOT NULL,
    [C_INTEZMENYID]          INT            NOT NULL,
    [C_TANEVID]              INT            NOT NULL,
    [C_OSZTALYCSOPORTID]     INT            NOT NULL,
    [C_TANULOID]             INT            NOT NULL,
    [TOROLT]                 CHAR (1)       DEFAULT ('F') NOT NULL,
    [SERIAL]                 INT            DEFAULT ((0)) NOT NULL,
    [LASTCHANGED]            DATETIME       DEFAULT (getdate()) NOT NULL,
    [CREATED]                DATETIME       DEFAULT (getdate()) NOT NULL,
    [MODIFIER]               INT            NULL,
    [CREATOR]                INT            NULL,
    [ELOZOTANEVIREKORDID]    INT            NULL,
    [NNID]                   INT            NULL,
    CONSTRAINT [tmp_ms_xx_constraint_PK_T_40255181] PRIMARY KEY CLUSTERED ([ID] ASC)
);

IF EXISTS (SELECT TOP 1 1 
           FROM   [dbo].[T_TANULOCSOPORT])
    BEGIN
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_TANULOCSOPORT] ON;
        INSERT INTO [dbo].[tmp_ms_xx_T_TANULOCSOPORT] ([ID], [C_BEJEGYZESIDOPONTJA], [C_BELEPESDATUM], [C_KILEPESDATUM], [C_ZARADEK], [C_BEFOGADOINTEZMENY], [C_MEGJEGYZES], [C_NAPLOSORSZAM], [C_TORZSLAPSZAM], [C_VEGZARADEK], [C_AGAZAT], [C_RESZSZAKKEPESITES], [C_SZAKKEPESITES], [C_SZAKMACSOPORT], [C_KILEPESROGZITESDATUM], [C_INTEZMENYID], [C_TANEVID], [C_OSZTALYCSOPORTID], [C_TANULOID], [TOROLT], [SERIAL], [LASTCHANGED], [CREATED], [MODIFIER], [CREATOR], [ELOZOTANEVIREKORDID], [NNID])
        SELECT   [ID],
                 [C_BEJEGYZESIDOPONTJA],
                 [C_BELEPESDATUM],
                 [C_KILEPESDATUM],
                 [C_ZARADEK],
                 [C_BEFOGADOINTEZMENY],
                 [C_MEGJEGYZES],
                 [C_NAPLOSORSZAM],
                 [C_TORZSLAPSZAM],
                 [C_VEGZARADEK],
                 [C_AGAZAT],
                 [C_RESZSZAKKEPESITES],
                 [C_SZAKKEPESITES],
                 [C_SZAKMACSOPORT],
                 [C_KILEPESROGZITESDATUM],
                 [C_INTEZMENYID],
                 [C_TANEVID],
                 [C_OSZTALYCSOPORTID],
                 [C_TANULOID],
                 [TOROLT],
                 [SERIAL],
                 [LASTCHANGED],
                 [CREATED],
                 [MODIFIER],
                 [CREATOR],
                 [ELOZOTANEVIREKORDID],
                 [NNID]
        FROM     [dbo].[T_TANULOCSOPORT]
        ORDER BY [ID] ASC;
        SET IDENTITY_INSERT [dbo].[tmp_ms_xx_T_TANULOCSOPORT] OFF;
    END

DROP TABLE [dbo].[T_TANULOCSOPORT];

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_T_TANULOCSOPORT]', N'T_TANULOCSOPORT';

EXECUTE sp_rename N'[dbo].[tmp_ms_xx_constraint_PK_T_40255181]', N'PK_T_4025518', N'OBJECT';

COMMIT TRANSACTION;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[I_T_4025518_4028359]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025518_4028359]
    ON [dbo].[T_TANULOCSOPORT]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_AGAZAT] ASC);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[I_T_4025518_4028360]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025518_4028360]
    ON [dbo].[T_TANULOCSOPORT]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_RESZSZAKKEPESITES] ASC);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[I_T_4025518_4028361]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025518_4028361]
    ON [dbo].[T_TANULOCSOPORT]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_SZAKKEPESITES] ASC);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[I_T_4025518_4028362]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025518_4028362]
    ON [dbo].[T_TANULOCSOPORT]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_SZAKMACSOPORT] ASC);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[I_T_402551802_402551800]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402551802_402551800]
    ON [dbo].[T_TANULOCSOPORT]([C_INTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[I_T_402551805_402551803]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402551805_402551803]
    ON [dbo].[T_TANULOCSOPORT]([C_TANEVID] ASC);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[I_T_4025526_4025525]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025526_4025525]
    ON [dbo].[T_TANULOCSOPORT]([C_OSZTALYCSOPORTID] ASC);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[I_T_4025527_4025525]...';


GO
CREATE NONCLUSTERED INDEX [I_T_4025527_4025525]
    ON [dbo].[T_TANULOCSOPORT]([C_TANULOID] ASC);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[NCU_TanuloCsoport_OsztalyCsoportId_TanuloId_IntezmenyId_TanevId]...';


GO
CREATE UNIQUE NONCLUSTERED INDEX [NCU_TanuloCsoport_OsztalyCsoportId_TanuloId_IntezmenyId_TanevId]
    ON [dbo].[T_TANULOCSOPORT]([C_INTEZMENYID] ASC, [C_TANEVID] ASC, [C_OSZTALYCSOPORTID] ASC, [C_TANULOID] ASC) WHERE ([C_KILEPESDATUM] IS NULL AND [TOROLT]='F');


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[NCI_TanuloCsoport_OsztalyCsoportId_TanuloId_IntezmenyId_TanevId]...';


GO
CREATE NONCLUSTERED INDEX [NCI_TanuloCsoport_OsztalyCsoportId_TanuloId_IntezmenyId_TanevId]
    ON [dbo].[T_TANULOCSOPORT]([C_OSZTALYCSOPORTID] ASC, [C_TANULOID] ASC, [C_INTEZMENYID] ASC, [C_TANEVID] ASC) WHERE ([TOROLT]='F') WITH (FILLFACTOR = 80);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[NCI_TanuloCsoport_OsztalyCsoportId_IntezmenyId_TanevId]...';


GO
CREATE NONCLUSTERED INDEX [NCI_TanuloCsoport_OsztalyCsoportId_IntezmenyId_TanevId]
    ON [dbo].[T_TANULOCSOPORT]([C_OSZTALYCSOPORTID] ASC, [C_INTEZMENYID] ASC, [C_TANEVID] ASC)
    INCLUDE([C_TANULOID], [C_BELEPESDATUM], [C_KILEPESDATUM]) WHERE ([TOROLT]='F') WITH (FILLFACTOR = 80);


GO
PRINT N'Creating [dbo].[T_TANULOCSOPORT].[NCI_TanuloCsoport_TanuloId_IntezmenyId_BelepesDatum_KilepesDatum_TanevId]...';


GO
CREATE NONCLUSTERED INDEX [NCI_TanuloCsoport_TanuloId_IntezmenyId_BelepesDatum_KilepesDatum_TanevId]
    ON [dbo].[T_TANULOCSOPORT]([C_TANULOID] ASC, [C_INTEZMENYID] ASC, [C_BELEPESDATUM] ASC, [C_KILEPESDATUM] ASC, [C_TANEVID] ASC)
    INCLUDE([C_OSZTALYCSOPORTID]) WHERE ([TOROLT]='F') WITH (FILLFACTOR = 80);


GO
PRINT N'Creating [dbo].[T_OKTNEVELESIKATEGORIA]...';


GO
CREATE TABLE [dbo].[T_OKTNEVELESIKATEGORIA] (
    [ID]                             INT      NOT NULL,
    [C_FELADATCSOPORTTANULOOSZTALYK] INT      NOT NULL,
    [C_ALINTEZMENYID]                INT      NOT NULL,
    [C_ALTANEVID]                    INT      NOT NULL,
    [TOROLT]                         CHAR (1) NOT NULL,
    [SERIAL]                         INT      NOT NULL,
    [LASTCHANGED]                    DATETIME NOT NULL,
    [CREATED]                        DATETIME NOT NULL,
    [MODIFIER]                       INT      NULL,
    [CREATOR]                        INT      NULL,
    [ELOZOTANEVIREKORDID]            INT      NULL,
    [ELOZOTANEVIREKORDIDA]           INT      NULL,
    [NNID]                           INT      NULL,
    CONSTRAINT [PK_T_4028590] PRIMARY KEY CLUSTERED ([ID] ASC, [C_ALINTEZMENYID] ASC, [C_ALTANEVID] ASC)
);


GO
PRINT N'Creating [dbo].[T_OKTNEVELESIKATEGORIA].[I_T_402859002_402859000]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402859002_402859000]
    ON [dbo].[T_OKTNEVELESIKATEGORIA]([C_ALINTEZMENYID] ASC);


GO
PRINT N'Creating [dbo].[T_OKTNEVELESIKATEGORIA].[I_T_402859005_402859003]...';


GO
CREATE NONCLUSTERED INDEX [I_T_402859005_402859003]
    ON [dbo].[T_OKTNEVELESIKATEGORIA]([C_ALTANEVID] ASC);


GO
PRINT N'Creating unnamed constraint on [dbo].[T_OKTNEVELESIKATEGORIA]...';


GO
ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA]
    ADD DEFAULT ((1)) FOR [C_FELADATCSOPORTTANULOOSZTALYK];


GO
PRINT N'Creating unnamed constraint on [dbo].[T_OKTNEVELESIKATEGORIA]...';


GO
ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA]
    ADD DEFAULT (getdate()) FOR [LASTCHANGED];


GO
PRINT N'Creating unnamed constraint on [dbo].[T_OKTNEVELESIKATEGORIA]...';


GO
ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA]
    ADD DEFAULT ((0)) FOR [SERIAL];


GO
PRINT N'Creating unnamed constraint on [dbo].[T_OKTNEVELESIKATEGORIA]...';


GO
ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA]
    ADD DEFAULT ('F') FOR [TOROLT];


GO
PRINT N'Creating unnamed constraint on [dbo].[T_OKTNEVELESIKATEGORIA]...';


GO
ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA]
    ADD DEFAULT (getdate()) FOR [CREATED];


GO
PRINT N'Creating [dbo].[FK_4027915_4027916]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH NOCHECK
    ADD CONSTRAINT [FK_4027915_4027916] FOREIGN KEY ([C_ERTEKELESTIPUSA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ERTEKELESTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4027915_4027917]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH NOCHECK
    ADD CONSTRAINT [FK_4027915_4027917] FOREIGN KEY ([C_EVFOLYAMTIPUSA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_EVFOLYAMTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4027915_4028466]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH NOCHECK
    ADD CONSTRAINT [FK_4027915_4028466] FOREIGN KEY ([C_TIPUSID], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ERTMONDATBANKTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4027923_4027921]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH NOCHECK
    ADD CONSTRAINT [FK_4027923_4027921] FOREIGN KEY ([C_TANTARGYID]) REFERENCES [dbo].[T_TANTARGY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402791502_402791500]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH NOCHECK
    ADD CONSTRAINT [FK_402791502_402791500] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402791505_402791503]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH NOCHECK
    ADD CONSTRAINT [FK_402791505_402791503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025130_4025128]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_4025130_4025128] FOREIGN KEY ([C_TEREMID]) REFERENCES [dbo].[T_TEREM] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025281_4025280]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_4025281_4025280] FOREIGN KEY ([C_FELELOSID]) REFERENCES [dbo].[T_ALKALMAZOTT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402509802_402509800]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402509802_402509800] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402509805_402509803]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402509805_402509803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025098_4025109]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_4025098_4025109] FOREIGN KEY ([C_KATEGORIA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ESZKOZKATEGORIA] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025098_4025119]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_4025098_4025119] FOREIGN KEY ([C_TIPUS], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ESZKOZTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025098_4025247]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_4025098_4025247] FOREIGN KEY ([C_CELJA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ESZKOZCEL] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025098_4025248]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_4025098_4025248] FOREIGN KEY ([C_JELLEGE], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ESZKOZJELLEG] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025098_4025249]...';


GO
ALTER TABLE [dbo].[T_ESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_4025098_4025249] FOREIGN KEY ([C_MENNYISEGIEGYSEG], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_MERTEKEGYSEGTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_3911977_3911975]...';


GO
ALTER TABLE [dbo].[T_DIGESTMESSAGEQUEUE] WITH NOCHECK
    ADD CONSTRAINT [FK_3911977_3911975] FOREIGN KEY ([C_RECIPIENTID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026978_4026976]...';


GO
ALTER TABLE [dbo].[T_HIBAJEGY] WITH NOCHECK
    ADD CONSTRAINT [FK_4026978_4026976] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_2030097_2030096]...';


GO
ALTER TABLE [dbo].[T_USERPROFILE] WITH NOCHECK
    ADD CONSTRAINT [FK_2030097_2030096] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026303_4026302]...';


GO
ALTER TABLE [dbo].[T_FALIUJSAGBEJEGYZES] WITH NOCHECK
    ADD CONSTRAINT [FK_4026303_4026302] FOREIGN KEY ([C_BEJEGYZOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026691_4026690]...';


GO
ALTER TABLE [dbo].[T_HELYETTESITESIIDOSZAK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026691_4026690] FOREIGN KEY ([C_ROGZITOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026315_4026314]...';


GO
ALTER TABLE [dbo].[T_TANITASIORA] WITH NOCHECK
    ADD CONSTRAINT [FK_4026315_4026314] FOREIGN KEY ([C_ORATULAJDONOSID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028123_4028121]...';


GO
ALTER TABLE [dbo].[T_HAZIFELADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4028123_4028121] FOREIGN KEY ([C_ROGZITOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028276_4028274]...';


GO
ALTER TABLE [dbo].[T_HAZIFELADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4028276_4028274] FOREIGN KEY ([C_HELYETTESITOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026153_4026152]...';


GO
ALTER TABLE [dbo].[T_IMPOSITION] WITH NOCHECK
    ADD CONSTRAINT [FK_4026153_4026152] FOREIGN KEY ([C_LETREHOZOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026156_4026155]...';


GO
ALTER TABLE [dbo].[T_IMPOSITION] WITH NOCHECK
    ADD CONSTRAINT [FK_4026156_4026155] FOREIGN KEY ([C_BEFIZETESREKOTELEZETTFELHASZ]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028293_4028291]...';


GO
ALTER TABLE [dbo].[T_VEGZETTSEG] WITH NOCHECK
    ADD CONSTRAINT [FK_4028293_4028291] FOREIGN KEY ([C_TANARID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025810_4025808]...';


GO
ALTER TABLE [dbo].[T_PEDAGOGUSELETPALYAMODELL] WITH NOCHECK
    ADD CONSTRAINT [FK_4025810_4025808] FOREIGN KEY ([C_TANARID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028282_4028280]...';


GO
ALTER TABLE [dbo].[T_TANULOHAZIFELADAT] WITH NOCHECK
    ADD CONSTRAINT [FK_4028282_4028280] FOREIGN KEY ([C_ROGZITOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028107_4028105]...';


GO
ALTER TABLE [dbo].[T_ELEARNING] WITH NOCHECK
    ADD CONSTRAINT [FK_4028107_4028105] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3195831_3195830]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPESTORTENET] WITH NOCHECK
    ADD CONSTRAINT [FK_3195831_3195830] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025971_4025969]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOERTESITESBEALLITA] WITH NOCHECK
    ADD CONSTRAINT [FK_4025971_4025969] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026225_4026224]...';


GO
ALTER TABLE [dbo].[T_JOGOSULTFELHASZNALOK_HOZZARE] WITH NOCHECK
    ADD CONSTRAINT [FK_4026225_4026224] FOREIGN KEY ([C_JOGOSULTFELHASZNALOKID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028268_4028266]...';


GO
ALTER TABLE [dbo].[T_UZENETCIMZETT] WITH NOCHECK
    ADD CONSTRAINT [FK_4028268_4028266] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026228_4026227]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026228_4026227] FOREIGN KEY ([C_DOKUMENTUMPARTNEREID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026231_4026230]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026231_4026230] FOREIGN KEY ([C_FELTOLTOFELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026195_4026193]...';


GO
ALTER TABLE [dbo].[T_JOGOSULTSAG_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_4026195_4026193] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028589_4028587]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUM] WITH NOCHECK
    ADD CONSTRAINT [FK_4028589_4028587] FOREIGN KEY ([C_IKTATOSZEMELYID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1361988_1361986]...';


GO
ALTER TABLE [dbo].[T_SMS] WITH NOCHECK
    ADD CONSTRAINT [FK_1361988_1361986] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025919_4025918]...';


GO
ALTER TABLE [dbo].[T_CSATOLTFELHASZNALOK_CSATOLTJ] WITH NOCHECK
    ADD CONSTRAINT [FK_4025919_4025918] FOREIGN KEY ([C_CSATOLTFELHASZNALOKID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025859_4025858]...';


GO
ALTER TABLE [dbo].[T_RESZTVEVOK_TEVEKENYSEGEK] WITH NOCHECK
    ADD CONSTRAINT [FK_4025859_4025858] FOREIGN KEY ([C_RESZTVEVOKID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028264_4028263]...';


GO
ALTER TABLE [dbo].[T_UZENET] WITH NOCHECK
    ADD CONSTRAINT [FK_4028264_4028263] FOREIGN KEY ([C_FELADOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025832_4025831]...';


GO
ALTER TABLE [dbo].[T_CIMZETT_FALIUJSAGBEJEGYZES] WITH NOCHECK
    ADD CONSTRAINT [FK_4025832_4025831] FOREIGN KEY ([C_CIMZETTID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026300_4026299]...';


GO
ALTER TABLE [dbo].[T_TANULOKOZOSSEGISZOLGALAT] WITH NOCHECK
    ADD CONSTRAINT [FK_4026300_4026299] FOREIGN KEY ([C_FELJEGYZOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026306_4026305]...';


GO
ALTER TABLE [dbo].[T_NAPLOELLENORZES] WITH NOCHECK
    ADD CONSTRAINT [FK_4026306_4026305] FOREIGN KEY ([C_ELLENORZOSZEMELYID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025168_4025166]...';


GO
ALTER TABLE [dbo].[T_CIM] WITH NOCHECK
    ADD CONSTRAINT [FK_4025168_4025166] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026688_4026687]...';


GO
ALTER TABLE [dbo].[T_NEMKOTOTTMUNKAIDO] WITH NOCHECK
    ADD CONSTRAINT [FK_4026688_4026687] FOREIGN KEY ([C_TULAJDONOSID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026329_4026328]...';


GO
ALTER TABLE [dbo].[T_ORARENDIORA] WITH NOCHECK
    ADD CONSTRAINT [FK_4026329_4026328] FOREIGN KEY ([C_ORATULAJDONOSID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025054_4025053]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO_SZEREPKOR] WITH NOCHECK
    ADD CONSTRAINT [FK_4025054_4025053] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026159_4026158]...';


GO
ALTER TABLE [dbo].[T_TRANSACTION] WITH NOCHECK
    ADD CONSTRAINT [FK_4026159_4026158] FOREIGN KEY ([C_BEFIZETOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025012_4025010]...';


GO
ALTER TABLE [dbo].[T_USERNOTIFICATION] WITH NOCHECK
    ADD CONSTRAINT [FK_4025012_4025010] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_T_8935_4025190]...';


GO
ALTER TABLE [dbo].[T_TANULO] WITH NOCHECK
    ADD CONSTRAINT [FK_T_8935_4025190] FOREIGN KEY ([ID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028520_4028518]...';


GO
ALTER TABLE [dbo].[T_JELSZOMODOSITASLINK] WITH NOCHECK
    ADD CONSTRAINT [FK_4028520_4028518] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025031_4025029]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH NOCHECK
    ADD CONSTRAINT [FK_4025031_4025029] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_2656867_2656865]...';


GO
ALTER TABLE [dbo].[T_ONLINEUSER] WITH NOCHECK
    ADD CONSTRAINT [FK_2656867_2656865] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025239_4025237]...';


GO
ALTER TABLE [dbo].[T_EMAIL] WITH NOCHECK
    ADD CONSTRAINT [FK_4025239_4025237] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_8935_9951]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_8935_9951] FOREIGN KEY ([C_NEME], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_NEM] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_8935_32780]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_8935_32780] FOREIGN KEY ([C_ALLAMPOLGARSAGA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ALLAMPOLGARSAG] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_8935_41892]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_8935_41892] FOREIGN KEY ([C_SZULETESIORSZAG], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ORSZAGTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_8935_4025149]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_8935_4025149] FOREIGN KEY ([C_ANYANYELVE], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ANYANYELV] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_8935_4025151]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_8935_4025151] FOREIGN KEY ([C_IGAZOLVANYTIPUSA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_IGAZOLVANYTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_8935_4026210]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_8935_4026210] FOREIGN KEY ([C_ALLAMPOLGARSAGA2], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_ALLAMPOLGARSAG] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_893502_893500]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_893502_893500] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_893505_893503]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALO] WITH NOCHECK
    ADD CONSTRAINT [FK_893505_893503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025472_4025470]...';


GO
ALTER TABLE [dbo].[T_CIMTARCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025472_4025470] FOREIGN KEY ([C_TULAJDONOSID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025469_4025467]...';


GO
ALTER TABLE [dbo].[T_CIMTAR] WITH NOCHECK
    ADD CONSTRAINT [FK_4025469_4025467] FOREIGN KEY ([C_TAGOKID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_32236_32229]...';


GO
ALTER TABLE [dbo].[T_PERSONMESSAGE] WITH NOCHECK
    ADD CONSTRAINT [FK_32236_32229] FOREIGN KEY ([C_RECIPIENTID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_T_8935_4025165]...';


GO
ALTER TABLE [dbo].[T_ALKALMAZOTT] WITH NOCHECK
    ADD CONSTRAINT [FK_T_8935_4025165] FOREIGN KEY ([ID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028341_4028340]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENER] WITH NOCHECK
    ADD CONSTRAINT [FK_4028341_4028340] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3940536_3940534]...';


GO
ALTER TABLE [dbo].[T_EMAILADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_3940536_3940534] FOREIGN KEY ([C_EMAILCIMZETTID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3940546_3940544]...';


GO
ALTER TABLE [dbo].[T_EMAILADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_3940546_3940544] FOREIGN KEY ([C_KULDOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_32284_32262]...';


GO
ALTER TABLE [dbo].[T_MESSAGE] WITH NOCHECK
    ADD CONSTRAINT [FK_32284_32262] FOREIGN KEY ([C_SENDERID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026050_4026049]...';


GO
ALTER TABLE [dbo].[T_OLDALLATOGATOTTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_4026050_4026049] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025236_4025234]...';


GO
ALTER TABLE [dbo].[T_TELEFON] WITH NOCHECK
    ADD CONSTRAINT [FK_4025236_4025234] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025881_4025879]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOERTESITES] WITH NOCHECK
    ADD CONSTRAINT [FK_4025881_4025879] FOREIGN KEY ([C_FELHASZNALOID]) REFERENCES [dbo].[T_FELHASZNALO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028152_4028151]...';


GO
ALTER TABLE [dbo].[T_JELSZOVISSZAALLITAS] WITH NOCHECK
    ADD CONSTRAINT [FK_4028152_4028151] FOREIGN KEY ([C_FELHASZNALOBELEPESID]) REFERENCES [dbo].[T_FELHASZNALOBELEPES] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025187_4025186]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH NOCHECK
    ADD CONSTRAINT [FK_4025187_4025186] FOREIGN KEY ([C_GONDVISELOID]) REFERENCES [dbo].[T_GONDVISELO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402502202_402502200]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH NOCHECK
    ADD CONSTRAINT [FK_402502202_402502200] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402502205_402502203]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH NOCHECK
    ADD CONSTRAINT [FK_402502205_402502203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026116_4026121]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026116_4026121] FOREIGN KEY ([C_MUNKAKORTIPUSA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_MUNKAKORTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4026116_4026122]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026116_4026122] FOREIGN KEY ([C_MUNKAVISZONYTIPUSA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_MUNKAVISZONYTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4026116_4026343]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026116_4026343] FOREIGN KEY ([C_PEDAGOGUSSTATUSZA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_PEDAGOGUSSTATUSZ] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4026116_4026352]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026116_4026352] FOREIGN KEY ([C_BESOROLASIFOKOZAT], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_BESOROLASIFOKOZATTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4026116_4026365]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026116_4026365] FOREIGN KEY ([C_MUNKAIDOKEDVEZMENYOKA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_MUNKAIDOKEDVEZMENYOKA] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4026116_4027631]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026116_4027631] FOREIGN KEY ([C_FOGLALKOZTATASTIPUS], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_FOGLALKOZTATASTIPUSA] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4026116_4027635]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026116_4027635] FOREIGN KEY ([C_VEZETOIORASZAMOK], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_VEZETOIORASZAMOKTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4026125_4026124]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026125_4026124] FOREIGN KEY ([C_FELADATELLATASIHELYID]) REFERENCES [dbo].[T_FELADATELLATASIHELY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026129_4026127]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026129_4026127] FOREIGN KEY ([C_ALKALMAZOTTID]) REFERENCES [dbo].[T_ALKALMAZOTT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402611602_402611600]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402611602_402611600] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402611605_402611603]...';


GO
ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402611605_402611603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026014_4026012]...';


GO
ALTER TABLE [dbo].[T_EVFOLYAMTIPUS_OKTATASINEVELE] WITH NOCHECK
    ADD CONSTRAINT [FK_4026014_4026012] FOREIGN KEY ([C_OKTATASINEVELESIFELADATID], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_OKTATASINEVELESIFELADAT] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_T_21038_4025391]...';


GO
ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] WITH NOCHECK
    ADD CONSTRAINT [FK_T_21038_4025391] FOREIGN KEY ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]) REFERENCES [dbo].[T_DICTIONARYITEMBASE] ([ID], [C_INTEZMENYID], [C_TANEVID]);


GO
PRINT N'Creating [dbo].[FK_402537602_402537600]...';


GO
ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] WITH NOCHECK
    ADD CONSTRAINT [FK_402537602_402537600] FOREIGN KEY ([C_ALINTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402537605_402537603]...';


GO
ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] WITH NOCHECK
    ADD CONSTRAINT [FK_402537605_402537603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026010_4026011]...';


GO
ALTER TABLE [dbo].[T_FELADATELLATASIHELY] WITH NOCHECK
    ADD CONSTRAINT [FK_4026010_4026011] FOREIGN KEY ([C_OKTATASINEVELESIFELADATTIPUS], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_OKTATASINEVELESIFELADAT] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025376_4028592]...';


GO
ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025376_4028592] FOREIGN KEY ([C_FELADATKATEGORIAID], [C_ALINTEZMENYID], [C_ALTANEVID]) REFERENCES [dbo].[T_OKTNEVELESIKATEGORIA] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4028139_4028138]...';


GO
ALTER TABLE [dbo].[T_HITTANADATSZOLGALTATAS] WITH NOCHECK
    ADD CONSTRAINT [FK_4028139_4028138] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025668_4025666]...';


GO
ALTER TABLE [dbo].[T_TANULOERTEKELES] WITH NOCHECK
    ADD CONSTRAINT [FK_4025668_4025666] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028462_4028461]...';


GO
ALTER TABLE [dbo].[T_TANULOERTEKELES] WITH NOCHECK
    ADD CONSTRAINT [FK_4028462_4028461] FOREIGN KEY ([C_ROGZITESKORITANULOOSZTALYID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025638_4025637]...';


GO
ALTER TABLE [dbo].[T_TANITASIORA] WITH NOCHECK
    ADD CONSTRAINT [FK_4025638_4025637] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4028126_4028124]...';


GO
ALTER TABLE [dbo].[T_HAZIFELADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4028126_4028124] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025431_4025429]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZAS] WITH NOCHECK
    ADD CONSTRAINT [FK_4025431_4025429] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_T_4025296_4025339]...';


GO
ALTER TABLE [dbo].[T_CSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_T_4025296_4025339] FOREIGN KEY ([ID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4027556_4027555]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT_TANULOESEMENY] WITH NOCHECK
    ADD CONSTRAINT [FK_4027556_4027555] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4027789_4027787]...';


GO
ALTER TABLE [dbo].[T_OGOSZTALYCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4027789_4027787] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025599_4025598]...';


GO
ALTER TABLE [dbo].[T_TANMENET] WITH NOCHECK
    ADD CONSTRAINT [FK_4025599_4025598] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025829_4025828]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT_FALIUJSAGBEJE] WITH NOCHECK
    ADD CONSTRAINT [FK_4025829_4025828] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025514_4025513]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT_TANEVRENDJE] WITH NOCHECK
    ADD CONSTRAINT [FK_4025514_4025513] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026324_4026322]...';


GO
ALTER TABLE [dbo].[T_ORARENDIORA] WITH NOCHECK
    ADD CONSTRAINT [FK_4026324_4026322] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025526_4025525]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025526_4025525] FOREIGN KEY ([C_OSZTALYCSOPORTID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025296_4025418]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025296_4025418] FOREIGN KEY ([C_EVFOLYAMTIPUSA], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_EVFOLYAMTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025954_4025953]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025954_4025953] FOREIGN KEY ([C_TEREMID]) REFERENCES [dbo].[T_TEREM] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026025_4026024]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4026025_4026024] FOREIGN KEY ([C_FELADATELLATASIHELYID]) REFERENCES [dbo].[T_FELADATELLATASIHELY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402529602_402529600]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_402529602_402529600] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402529605_402529603]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_402529605_402529603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_T_4025296_4025338]...';


GO
ALTER TABLE [dbo].[T_OSZTALY] WITH NOCHECK
    ADD CONSTRAINT [FK_T_4025296_4025338] FOREIGN KEY ([ID]) REFERENCES [dbo].[T_OSZTALYCSOPORT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025296_4028599]...';


GO
ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025296_4028599] FOREIGN KEY ([C_FELADATKATEGORIAID], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_OKTNEVELESIKATEGORIA] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_402755005_402755003]...';


GO
ALTER TABLE [dbo].[T_RESZSZAKKEPESITESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402755005_402755003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402831405_402831403]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENERELEM] WITH NOCHECK
    ADD CONSTRAINT [FK_402831405_402831403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402717105_402717103]...';


GO
ALTER TABLE [dbo].[T_EPENZTARCAPARAMETEREK] WITH NOCHECK
    ADD CONSTRAINT [FK_402717105_402717103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_218658805_218658803]...';


GO
ALTER TABLE [dbo].[T_APPOINTMENT] WITH NOCHECK
    ADD CONSTRAINT [FK_218658805_218658803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402565305_402565303]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESMOD] WITH NOCHECK
    ADD CONSTRAINT [FK_402565305_402565303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_821405_821403]...';


GO
ALTER TABLE [dbo].[T_PAYMENTTITLE] WITH NOCHECK
    ADD CONSTRAINT [FK_821405_821403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402513805_402513803]...';


GO
ALTER TABLE [dbo].[T_ANYANYELV] WITH NOCHECK
    ADD CONSTRAINT [FK_402513805_402513803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402634205_402634203]...';


GO
ALTER TABLE [dbo].[T_PEDAGOGUSSTATUSZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402634205_402634203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402841605_402841603]...';


GO
ALTER TABLE [dbo].[T_KKNEPZENE] WITH NOCHECK
    ADD CONSTRAINT [FK_402841605_402841603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_394046505_394046503]...';


GO
ALTER TABLE [dbo].[T_EMAILHIBALOG] WITH NOCHECK
    ADD CONSTRAINT [FK_394046505_394046503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_99078705_99078703]...';


GO
ALTER TABLE [dbo].[T_SCCARD] WITH NOCHECK
    ADD CONSTRAINT [FK_99078705_99078703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402586205_402586203]...';


GO
ALTER TABLE [dbo].[T_ERTESITESSZINTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402586205_402586203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402776105_402776103]...';


GO
ALTER TABLE [dbo].[T_OGINTEZMENYFOGLALTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402776105_402776103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402600505_402600503]...';


GO
ALTER TABLE [dbo].[T_KIZAROCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_402600505_402600503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1546805_1546803]...';


GO
ALTER TABLE [dbo].[T_FORMTYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_1546805_1546803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402544005_402544003]...';


GO
ALTER TABLE [dbo].[T_HETIRENDTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402544005_402544003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402754905_402754903]...';


GO
ALTER TABLE [dbo].[T_AGAZATTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402754905_402754903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402831205_402831203]...';


GO
ALTER TABLE [dbo].[T_KIRSZOLGALTATASTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402831205_402831203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_212192505_212192503]...';


GO
ALTER TABLE [dbo].[T_BANK] WITH NOCHECK
    ADD CONSTRAINT [FK_212192505_212192503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402565205_402565203]...';


GO
ALTER TABLE [dbo].[T_OSZTALYZATTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402565205_402565203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402513405_402513403]...';


GO
ALTER TABLE [dbo].[T_IGAZOLVANYTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402513405_402513403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402814805_402814803]...';


GO
ALTER TABLE [dbo].[T_JELSZOVISSZAALLITAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402814805_402814803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402633905_402633903]...';


GO
ALTER TABLE [dbo].[T_KRETATIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402633905_402633903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402841405_402841403]...';


GO
ALTER TABLE [dbo].[T_KKELEKTROAKUZENE] WITH NOCHECK
    ADD CONSTRAINT [FK_402841405_402841403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_391192005_391192003]...';


GO
ALTER TABLE [dbo].[T_DIGESTMESSAGEQUEUE] WITH NOCHECK
    ADD CONSTRAINT [FK_391192005_391192003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_53988005_53988003]...';


GO
ALTER TABLE [dbo].[T_ERRORSTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_53988005_53988003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402583905_402583903]...';


GO
ALTER TABLE [dbo].[T_TEVEKENYSEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402583905_402583903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402600405_402600403]...';


GO
ALTER TABLE [dbo].[T_RENDSZERBEALLITASTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402600405_402600403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402695805_402695803]...';


GO
ALTER TABLE [dbo].[T_HIBAJEGY] WITH NOCHECK
    ADD CONSTRAINT [FK_402695805_402695803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402775105_402775103]...';


GO
ALTER TABLE [dbo].[T_OGGENERATORALAP] WITH NOCHECK
    ADD CONSTRAINT [FK_402775105_402775103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402543905_402543903]...';


GO
ALTER TABLE [dbo].[T_NAPTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402543905_402543903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402754805_402754803]...';


GO
ALTER TABLE [dbo].[T_SZAKMACSOPORTTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402754805_402754803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402830805_402830803]...';


GO
ALTER TABLE [dbo].[T_SZAKTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402830805_402830803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402565105_402565103]...';


GO
ALTER TABLE [dbo].[T_ERTEKELESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402565105_402565103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402513305_402513303]...';


GO
ALTER TABLE [dbo].[T_MUNKAVISZONYTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402513305_402513303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_203009405_203009403]...';


GO
ALTER TABLE [dbo].[T_USERPROFILE] WITH NOCHECK
    ADD CONSTRAINT [FK_203009405_203009403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1540405_1540403]...';


GO
ALTER TABLE [dbo].[T_FORMS] WITH NOCHECK
    ADD CONSTRAINT [FK_1540405_1540403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402813505_402813503]...';


GO
ALTER TABLE [dbo].[T_HITTANADATSZOLGALTATAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402813505_402813503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402841205_402841203]...';


GO
ALTER TABLE [dbo].[T_KKTERULET] WITH NOCHECK
    ADD CONSTRAINT [FK_402841205_402841203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_383219005_383219003]...';


GO
ALTER TABLE [dbo].[T_SCCARDBEVONASOKA] WITH NOCHECK
    ADD CONSTRAINT [FK_383219005_383219003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402529305_402529303]...';


GO
ALTER TABLE [dbo].[T_TANTERVIJELLEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402529305_402529303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_28379705_28379703]...';


GO
ALTER TABLE [dbo].[T_FEETYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_28379705_28379703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402583805_402583803]...';


GO
ALTER TABLE [dbo].[T_TEVEKENYSEGTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402583805_402583803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402600205_402600203]...';


GO
ALTER TABLE [dbo].[T_ORATERVTARGY] WITH NOCHECK
    ADD CONSTRAINT [FK_402600205_402600203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_813305_813303]...';


GO
ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILELINE] WITH NOCHECK
    ADD CONSTRAINT [FK_813305_813303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402753905_402753903]...';


GO
ALTER TABLE [dbo].[T_SZAKKEPESITESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402753905_402753903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402774605_402774603]...';


GO
ALTER TABLE [dbo].[T_OGOSZTALYCSOPORTFOGLALTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402774605_402774603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402830505_402830503]...';


GO
ALTER TABLE [dbo].[T_GIMNAZIUMIEVFOLYAMTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402830505_402830503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402564105_402564103]...';


GO
ALTER TABLE [dbo].[T_TANULOERTEKELES] WITH NOCHECK
    ADD CONSTRAINT [FK_402564105_402564103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402512205_402512203]...';


GO
ALTER TABLE [dbo].[T_TEREM] WITH NOCHECK
    ADD CONSTRAINT [FK_402512205_402512203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_202649705_202649703]...';


GO
ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYSTATUSZ] WITH NOCHECK
    ADD CONSTRAINT [FK_202649705_202649703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402629405_402629403]...';


GO
ALTER TABLE [dbo].[T_NAPTARIHET] WITH NOCHECK
    ADD CONSTRAINT [FK_402629405_402629403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402695305_402695303]...';


GO
ALTER TABLE [dbo].[T_HIBAJEGYSTATUSZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402695305_402695303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402840905_402840903]...';


GO
ALTER TABLE [dbo].[T_KKTANARVEGZETTSEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402840905_402840903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_371584605_371584603]...';


GO
ALTER TABLE [dbo].[T_MEGYE] WITH NOCHECK
    ADD CONSTRAINT [FK_371584605_371584603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402813305_402813303]...';


GO
ALTER TABLE [dbo].[T_HITTANTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402813305_402813303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402527905_402527903]...';


GO
ALTER TABLE [dbo].[T_TESTNEVELESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402527905_402527903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_22824705_22824703]...';


GO
ALTER TABLE [dbo].[T_PAYMENTTITLETYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_22824705_22824703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402581505_402581503]...';


GO
ALTER TABLE [dbo].[T_FALIUJSAGBEJEGYZES] WITH NOCHECK
    ADD CONSTRAINT [FK_402581505_402581503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402599705_402599703]...';


GO
ALTER TABLE [dbo].[T_RENDSZERBEALLITAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402599705_402599703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1429805_1429803]...';


GO
ALTER TABLE [dbo].[T_IMPOSITIONSHAREDRULES] WITH NOCHECK
    ADD CONSTRAINT [FK_1429805_1429803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402542505_402542503]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZASTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402542505_402542503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_813005_813003]...';


GO
ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILE] WITH NOCHECK
    ADD CONSTRAINT [FK_813005_813003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402750405_402750403]...';


GO
ALTER TABLE [dbo].[T_MUKODESIHELYTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402750405_402750403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402829405_402829403]...';


GO
ALTER TABLE [dbo].[T_KEPESITES] WITH NOCHECK
    ADD CONSTRAINT [FK_402829405_402829403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402774505_402774503]...';


GO
ALTER TABLE [dbo].[T_OGFOGLALTSAGTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402774505_402774503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_202649405_202649403]...';


GO
ALTER TABLE [dbo].[T_SCSTICKERSTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_202649405_202649403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402628605_402628603]...';


GO
ALTER TABLE [dbo].[T_HELYETTESITESIIDOSZAK] WITH NOCHECK
    ADD CONSTRAINT [FK_402628605_402628603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402695205_402695203]...';


GO
ALTER TABLE [dbo].[T_PRIORITAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402695205_402695203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402840705_402840703]...';


GO
ALTER TABLE [dbo].[T_KKTANITOVEZGETTSEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402840705_402840703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402557505_402557503]...';


GO
ALTER TABLE [dbo].[T_TANITASIORA] WITH NOCHECK
    ADD CONSTRAINT [FK_402557505_402557503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_355895805_355895803]...';


GO
ALTER TABLE [dbo].[T_SYSTEMPARAMETERVALUE] WITH NOCHECK
    ADD CONSTRAINT [FK_355895805_355895803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402811205_402811203]...';


GO
ALTER TABLE [dbo].[T_HAZIFELADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402811205_402811203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402527805_402527803]...';


GO
ALTER TABLE [dbo].[T_ESZKOZJELLEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402527805_402527803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4247205_4247203]...';


GO
ALTER TABLE [dbo].[T_EMAILTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_4247205_4247203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402581305_402581303]...';


GO
ALTER TABLE [dbo].[T_FALIUJSAGLATOGATTOTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402581305_402581303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402599405_402599403]...';


GO
ALTER TABLE [dbo].[T_ORATERV] WITH NOCHECK
    ADD CONSTRAINT [FK_402599405_402599403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402542205_402542203]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402542205_402542203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_810805_810803]...';


GO
ALTER TABLE [dbo].[T_IMPOSITION] WITH NOCHECK
    ADD CONSTRAINT [FK_810805_810803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402512105_402512103]...';


GO
ALTER TABLE [dbo].[T_ESZKOZTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402512105_402512103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402742905_402742903]...';


GO
ALTER TABLE [dbo].[T_IKTESZKOZHASZNALATMOD] WITH NOCHECK
    ADD CONSTRAINT [FK_402742905_402742903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1404405_1404403]...';


GO
ALTER TABLE [dbo].[T_IMPOSITIONGROUP] WITH NOCHECK
    ADD CONSTRAINT [FK_1404405_1404403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402828705_402828703]...';


GO
ALTER TABLE [dbo].[T_VEGZETTSEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402828705_402828703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402774105_402774103]...';


GO
ALTER TABLE [dbo].[T_OGFOGLALKOZAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402774105_402774103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_193161505_193161503]...';


GO
ALTER TABLE [dbo].[T_MUNKAVISZONYJELLEGE] WITH NOCHECK
    ADD CONSTRAINT [FK_193161505_193161503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402695105_402695103]...';


GO
ALTER TABLE [dbo].[T_FORRAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402695105_402695103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402839405_402839403]...';


GO
ALTER TABLE [dbo].[T_KKVEGZETTSEGTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402839405_402839403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_331018805_331018803]...';


GO
ALTER TABLE [dbo].[T_EMAILUZENET] WITH NOCHECK
    ADD CONSTRAINT [FK_331018805_331018803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402810805_402810803]...';


GO
ALTER TABLE [dbo].[T_VEGZETTSEGTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402810805_402810803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402527705_402527703]...';


GO
ALTER TABLE [dbo].[T_CSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_402527705_402527703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4165705_4165703]...';


GO
ALTER TABLE [dbo].[T_TELEFONTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_4165705_4165703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402857905_402857903]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUM] WITH NOCHECK
    ADD CONSTRAINT [FK_402857905_402857903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402580105_402580103]...';


GO
ALTER TABLE [dbo].[T_PEDAGOGUSELETPALYAMODELL] WITH NOCHECK
    ADD CONSTRAINT [FK_402580105_402580103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402599105_402599103]...';


GO
ALTER TABLE [dbo].[T_KIZAROCSOPORTTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402599105_402599103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402512005_402512003]...';


GO
ALTER TABLE [dbo].[T_ESZKOZKATEGORIA] WITH NOCHECK
    ADD CONSTRAINT [FK_402512005_402512003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402742805_402742803]...';


GO
ALTER TABLE [dbo].[T_ELSODLEGESIKTESZKOZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402742805_402742803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402827105_402827103]...';


GO
ALTER TABLE [dbo].[T_TANULOHAZIFELADAT] WITH NOCHECK
    ADD CONSTRAINT [FK_402827105_402827103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402773605_402773603]...';


GO
ALTER TABLE [dbo].[T_OGTANTARGYFOGLALTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402773605_402773603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_176808005_176808003]...';


GO
ALTER TABLE [dbo].[T_KULFOLDISTATUSZTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_176808005_176808003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402670905_402670903]...';


GO
ALTER TABLE [dbo].[T_SZERZODOSZEMELYPOZICIO] WITH NOCHECK
    ADD CONSTRAINT [FK_402670905_402670903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402839305_402839303]...';


GO
ALTER TABLE [dbo].[T_KKAMINEPZENETIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402839305_402839303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1331005_1331003]...';


GO
ALTER TABLE [dbo].[T_FINANCIALCODE] WITH NOCHECK
    ADD CONSTRAINT [FK_1331005_1331003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402809805_402809803]...';


GO
ALTER TABLE [dbo].[T_ELEARNING] WITH NOCHECK
    ADD CONSTRAINT [FK_402809805_402809803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402527605_402527603]...';


GO
ALTER TABLE [dbo].[T_ESZKOZCEL] WITH NOCHECK
    ADD CONSTRAINT [FK_402527605_402527603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3874305_3874303]...';


GO
ALTER TABLE [dbo].[T_PAYINGTYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_3874305_3874303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402540605_402540603]...';


GO
ALTER TABLE [dbo].[T_TARGYKATEGORIATIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402540605_402540603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_319582805_319582803]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPESTORTENET] WITH NOCHECK
    ADD CONSTRAINT [FK_319582805_319582803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402855705_402855703]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZOERTEK] WITH NOCHECK
    ADD CONSTRAINT [FK_402855705_402855703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402580005_402580003]...';


GO
ALTER TABLE [dbo].[T_ELETPALYAMODELLFOKOZATTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402580005_402580003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402596205_402596203]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOERTESITESBEALLITA] WITH NOCHECK
    ADD CONSTRAINT [FK_402596205_402596203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402742405_402742403]...';


GO
ALTER TABLE [dbo].[T_PEDAGOGUSIKTADATSZOLGALTATAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402742405_402742403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402825705_402825703]...';


GO
ALTER TABLE [dbo].[T_UZENETCIMZETT] WITH NOCHECK
    ADD CONSTRAINT [FK_402825705_402825703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_163886705_163886703]...';


GO
ALTER TABLE [dbo].[T_VPOSCONFIG] WITH NOCHECK
    ADD CONSTRAINT [FK_163886705_163886703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402773405_402773403]...';


GO
ALTER TABLE [dbo].[T_OGFOGLALKOZAS_TEREM] WITH NOCHECK
    ADD CONSTRAINT [FK_402773405_402773403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402621205_402621203]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402621205_402621203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402670805_402670803]...';


GO
ALTER TABLE [dbo].[T_ENAPLOTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402670805_402670803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402839205_402839203]...';


GO
ALTER TABLE [dbo].[T_KKAMIELEKTROAKUTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402839205_402839203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402524605_402524603]...';


GO
ALTER TABLE [dbo].[T_MERTEKEGYSEGTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402524605_402524603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3872705_3872703]...';


GO
ALTER TABLE [dbo].[T_ALLAMPOLGARSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_3872705_3872703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402540505_402540503]...';


GO
ALTER TABLE [dbo].[T_EVFOLYAMTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402540505_402540503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402854405_402854403]...';


GO
ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUM] WITH NOCHECK
    ADD CONSTRAINT [FK_402854405_402854403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402579905_402579903]...';


GO
ALTER TABLE [dbo].[T_ELETPALYAMODELLSTATUSZOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402579905_402579903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402595705_402595703]...';


GO
ALTER TABLE [dbo].[T_TANARIATLAGSULY] WITH NOCHECK
    ADD CONSTRAINT [FK_402595705_402595703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1324505_1324503]...';


GO
ALTER TABLE [dbo].[T_FEE] WITH NOCHECK
    ADD CONSTRAINT [FK_1324505_1324503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_304453105_304453103]...';


GO
ALTER TABLE [dbo].[T_HONAPOK] WITH NOCHECK
    ADD CONSTRAINT [FK_304453105_304453103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402742305_402742303]...';


GO
ALTER TABLE [dbo].[T_WIFIELERES] WITH NOCHECK
    ADD CONSTRAINT [FK_402742305_402742303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402808305_402808303]...';


GO
ALTER TABLE [dbo].[T_DICTIONARYTYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_402808305_402808303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402557405_402557403]...';


GO
ALTER TABLE [dbo].[T_HELYETTESITESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402557405_402557403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402509605_402509603]...';


GO
ALTER TABLE [dbo].[T_INGYENESTANKONYVELLATAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402509605_402509603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_136198505_136198503]...';


GO
ALTER TABLE [dbo].[T_SMS] WITH NOCHECK
    ADD CONSTRAINT [FK_136198505_136198503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402619105_402619103]...';


GO
ALTER TABLE [dbo].[T_JOGOSULTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402619105_402619103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402670705_402670703]...';


GO
ALTER TABLE [dbo].[T_ENAPLOFORRAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402670705_402670703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402839105_402839103]...';


GO
ALTER TABLE [dbo].[T_KKAMIVEGZETTSEGTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402839105_402839103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402773005_402773003]...';


GO
ALTER TABLE [dbo].[T_OGOSZTALYCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_402773005_402773003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026244_4026243]...';


GO
ALTER TABLE [dbo].[T_INTEZMENYADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_4026244_4026243] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3867705_3867703]...';


GO
ALTER TABLE [dbo].[T_STUDENTCARDSTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_3867705_3867703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402825605_402825603]...';


GO
ALTER TABLE [dbo].[T_UZENETJOGKORTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402825605_402825603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402854205_402854203]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZO] WITH NOCHECK
    ADD CONSTRAINT [FK_402854205_402854203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402579705_402579703]...';


GO
ALTER TABLE [dbo].[T_ESEMENYZARADEKTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402579705_402579703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402594005_402594003]...';


GO
ALTER TABLE [dbo].[T_TANARITANTARGY] WITH NOCHECK
    ADD CONSTRAINT [FK_402594005_402594003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_289347005_289347003]...';


GO
ALTER TABLE [dbo].[T_PAYMENTTITLE_ROLES] WITH NOCHECK
    ADD CONSTRAINT [FK_289347005_289347003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402742205_402742203]...';


GO
ALTER TABLE [dbo].[T_IKTKOMPETENCIASZINT] WITH NOCHECK
    ADD CONSTRAINT [FK_402742205_402742203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1309205_1309203]...';


GO
ALTER TABLE [dbo].[T_SZEREPKOR] WITH NOCHECK
    ADD CONSTRAINT [FK_1309205_1309203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402539905_402539903]...';


GO
ALTER TABLE [dbo].[T_TANTARGY] WITH NOCHECK
    ADD CONSTRAINT [FK_402539905_402539903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402556205_402556203]...';


GO
ALTER TABLE [dbo].[T_NAPTARINAP] WITH NOCHECK
    ADD CONSTRAINT [FK_402556205_402556203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402509305_402509303]...';


GO
ALTER TABLE [dbo].[T_TEREMTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402509305_402509303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402805005_402805003]...';


GO
ALTER TABLE [dbo].[T_TANULOERTEKELESLATTAMOZAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402805005_402805003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402618905_402618903]...';


GO
ALTER TABLE [dbo].[T_SZEREPKORTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402618905_402618903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402669405_402669403]...';


GO
ALTER TABLE [dbo].[T_ADATSZOLGALTATASENAPLO] WITH NOCHECK
    ADD CONSTRAINT [FK_402669405_402669403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_136178505_136178503]...';


GO
ALTER TABLE [dbo].[T_SMSMESSAGESTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_136178505_136178503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402839005_402839003]...';


GO
ALTER TABLE [dbo].[T_KKAMITERULETTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402839005_402839003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402519805_402519803]...';


GO
ALTER TABLE [dbo].[T_FENNTARTOTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402519805_402519803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3863705_3863703]...';


GO
ALTER TABLE [dbo].[T_NATIONALITY] WITH NOCHECK
    ADD CONSTRAINT [FK_3863705_3863703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402824805_402824803]...';


GO
ALTER TABLE [dbo].[T_UZENET] WITH NOCHECK
    ADD CONSTRAINT [FK_402824805_402824803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402854105_402854103]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402854105_402854103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402576905_402576903]...';


GO
ALTER TABLE [dbo].[T_TANULOMENTESSEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402576905_402576903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402592805_402592803]...';


GO
ALTER TABLE [dbo].[T_ERTESITESGENERALASTORTENET] WITH NOCHECK
    ADD CONSTRAINT [FK_402592805_402592803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402772905_402772903]...';


GO
ALTER TABLE [dbo].[T_OGTEREM_TANTARGY] WITH NOCHECK
    ADD CONSTRAINT [FK_402772905_402772903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402742005_402742003]...';


GO
ALTER TABLE [dbo].[T_ENAPLOHASZNALAT] WITH NOCHECK
    ADD CONSTRAINT [FK_402742005_402742003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1167105_1167103]...';


GO
ALTER TABLE [dbo].[T_STUDENTCARDTYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_1167105_1167103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402509205_402509203]...';


GO
ALTER TABLE [dbo].[T_MAGANTANULOSAGOKA] WITH NOCHECK
    ADD CONSTRAINT [FK_402509205_402509203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402804805_402804803]...';


GO
ALTER TABLE [dbo].[T_TANULOESEMENYLATTAMOZAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402804805_402804803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402617205_402617203]...';


GO
ALTER TABLE [dbo].[T_TANULOKOZOSSEGISZOLGALAT] WITH NOCHECK
    ADD CONSTRAINT [FK_402617205_402617203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402669305_402669303]...';


GO
ALTER TABLE [dbo].[T_ENAPLOINFRA] WITH NOCHECK
    ADD CONSTRAINT [FK_402669305_402669303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_131202405_131202403]...';


GO
ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILESTATU] WITH NOCHECK
    ADD CONSTRAINT [FK_131202405_131202403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402838905_402838903]...';


GO
ALTER TABLE [dbo].[T_KKAMIJAZZZENETIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402838905_402838903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402555605_402555603]...';


GO
ALTER TABLE [dbo].[T_TANMENET] WITH NOCHECK
    ADD CONSTRAINT [FK_402555605_402555603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_284754505_284754503]...';


GO
ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYHIBASTATU] WITH NOCHECK
    ADD CONSTRAINT [FK_284754505_284754503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402519105_402519103]...';


GO
ALTER TABLE [dbo].[T_CSOPORTTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402519105_402519103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3841605_3841603]...';


GO
ALTER TABLE [dbo].[T_MARITALSTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_3841605_3841603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402854005_402854003]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMSTATUSZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402854005_402854003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402575205_402575203]...';


GO
ALTER TABLE [dbo].[T_NAPLOELLENORZES] WITH NOCHECK
    ADD CONSTRAINT [FK_402575205_402575203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402592605_402592603]...';


GO
ALTER TABLE [dbo].[T_MESSAGESTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402592605_402592603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402824405_402824403]...';


GO
ALTER TABLE [dbo].[T_UZENETJOGOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402824405_402824403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402772405_402772403]...';


GO
ALTER TABLE [dbo].[T_OGTANARFOGLALTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402772405_402772403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402539205_402539203]...';


GO
ALTER TABLE [dbo].[T_TANTERV] WITH NOCHECK
    ADD CONSTRAINT [FK_402539205_402539203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402739605_402739603]...';


GO
ALTER TABLE [dbo].[T_TAGOZATTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402739605_402739603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1109405_1109403]...';


GO
ALTER TABLE [dbo].[T_CIM] WITH NOCHECK
    ADD CONSTRAINT [FK_1109405_1109403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402804605_402804603]...';


GO
ALTER TABLE [dbo].[T_TANULOMULASZTASLATTAMOZAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402804605_402804603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402616205_402616203]...';


GO
ALTER TABLE [dbo].[T_PARTFILLSTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402616205_402616203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402667705_402667703]...';


GO
ALTER TABLE [dbo].[T_NEMKOTOTTMUNKAIDO] WITH NOCHECK
    ADD CONSTRAINT [FK_402667705_402667703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_129125805_129125803]...';


GO
ALTER TABLE [dbo].[T_ORSZAGTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_129125805_129125803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402838805_402838803]...';


GO
ALTER TABLE [dbo].[T_KKTANITOMUVTERTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402838805_402838803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402553005_402553003]...';


GO
ALTER TABLE [dbo].[T_ORARENDIORA] WITH NOCHECK
    ADD CONSTRAINT [FK_402553005_402553003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_284654605_284654603]...';


GO
ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_284654605_284654603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3840805_3840803]...';


GO
ALTER TABLE [dbo].[T_IMPOSITIONSTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_3840805_3840803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402853805_402853803]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZOTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402853805_402853803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402574605_402574603]...';


GO
ALTER TABLE [dbo].[T_IGAZOLAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402574605_402574603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402517905_402517903]...';


GO
ALTER TABLE [dbo].[T_ROKONSAGIFOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402517905_402517903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402823405_402823403]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGIVALASZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402823405_402823403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402736305_402736303]...';


GO
ALTER TABLE [dbo].[T_NEBULO] WITH NOCHECK
    ADD CONSTRAINT [FK_402736305_402736303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402771505_402771503]...';


GO
ALTER TABLE [dbo].[T_MUKODESIHELYADATSZOLGALTATAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402771505_402771503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402508005_402508003]...';


GO
ALTER TABLE [dbo].[T_ENTITYATTRIBUTEHISTORY] WITH NOCHECK
    ADD CONSTRAINT [FK_402508005_402508003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1073505_1073503]...';


GO
ALTER TABLE [dbo].[T_TRANSACTION] WITH NOCHECK
    ADD CONSTRAINT [FK_1073505_1073503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402799805_402799803]...';


GO
ALTER TABLE [dbo].[T_ORARENDIORATULAJDONSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402799805_402799803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402613705_402613703]...';


GO
ALTER TABLE [dbo].[T_RENDSZERERTESITESEK] WITH NOCHECK
    ADD CONSTRAINT [FK_402613705_402613703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402666905_402666903]...';


GO
ALTER TABLE [dbo].[T_ESLADAT] WITH NOCHECK
    ADD CONSTRAINT [FK_402666905_402666903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_125783105_125783103]...';


GO
ALTER TABLE [dbo].[T_USERNOTIFICATION] WITH NOCHECK
    ADD CONSTRAINT [FK_125783105_125783103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402838705_402838703]...';


GO
ALTER TABLE [dbo].[T_KKAMIKLASSZIKUSTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402838705_402838703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_276170205_276170203]...';


GO
ALTER TABLE [dbo].[T_IMPOSITIONIMPOSITIONGROUP] WITH NOCHECK
    ADD CONSTRAINT [FK_276170205_276170203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3839205_3839203]...';


GO
ALTER TABLE [dbo].[T_LANGUAGE] WITH NOCHECK
    ADD CONSTRAINT [FK_3839205_3839203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402853705_402853703]...';


GO
ALTER TABLE [dbo].[T_DOKUMENTUMKATEGORIA] WITH NOCHECK
    ADD CONSTRAINT [FK_402853705_402853703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402572805_402572803]...';


GO
ALTER TABLE [dbo].[T_ORALATOGATAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402572805_402572803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402590605_402590603]...';


GO
ALTER TABLE [dbo].[T_JOGYAKORLAT] WITH NOCHECK
    ADD CONSTRAINT [FK_402590605_402590603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026237_4026236]...';


GO
ALTER TABLE [dbo].[T_TANULO] WITH NOCHECK
    ADD CONSTRAINT [FK_4026237_4026236] FOREIGN KEY ([C_FELVETELTANEVEID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402517805_402517803]...';


GO
ALTER TABLE [dbo].[T_TANULO] WITH NOCHECK
    ADD CONSTRAINT [FK_402517805_402517803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402821805_402821803]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGIKERDES] WITH NOCHECK
    ADD CONSTRAINT [FK_402821805_402821803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402767505_402767503]...';


GO
ALTER TABLE [dbo].[T_INTEZMENYESZKOZADATSZOLGALTA] WITH NOCHECK
    ADD CONSTRAINT [FK_402767505_402767503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402537205_402537203]...';


GO
ALTER TABLE [dbo].[T_ERTELMIFOGYATEKOSTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402537205_402537203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402504305_402504303]...';


GO
ALTER TABLE [dbo].[T_ENTITYHISTORY] WITH NOCHECK
    ADD CONSTRAINT [FK_402504305_402504303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402797005_402797003]...';


GO
ALTER TABLE [dbo].[T_ORATULAJDONSAGTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402797005_402797003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402662605_402662603]...';


GO
ALTER TABLE [dbo].[T_TANULOESLADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402662605_402662603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402838605_402838603]...';


GO
ALTER TABLE [dbo].[T_KKGYOGYPEDTERTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402838605_402838603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_274081905_274081903]...';


GO
ALTER TABLE [dbo].[T_SYSTEMPARAMETERTYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_274081905_274081903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1068505_1068503]...';


GO
ALTER TABLE [dbo].[T_PARTNER] WITH NOCHECK
    ADD CONSTRAINT [FK_1068505_1068503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3836905_3836903]...';


GO
ALTER TABLE [dbo].[T_CIMTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_3836905_3836903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402851305_402851303]...';


GO
ALTER TABLE [dbo].[T_JELSZOMODOSITASLINK] WITH NOCHECK
    ADD CONSTRAINT [FK_402851305_402851303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402572105_402572103]...';


GO
ALTER TABLE [dbo].[T_MAGATARTASERTEKELESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402572105_402572103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402590105_402590103]...';


GO
ALTER TABLE [dbo].[T_EVENTTYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_402590105_402590103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402820405_402820403]...';


GO
ALTER TABLE [dbo].[T_LICENCEFUNKCIOKTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402820405_402820403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402763405_402763403]...';


GO
ALTER TABLE [dbo].[T_VEZETOIORASZAMOKTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402763405_402763403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402537105_402537103]...';


GO
ALTER TABLE [dbo].[T_HALLASSERULTTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402537105_402537103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_125763105_125763103]...';


GO
ALTER TABLE [dbo].[T_ESEMENYSTATUSZ] WITH NOCHECK
    ADD CONSTRAINT [FK_125763105_125763103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402795405_402795403]...';


GO
ALTER TABLE [dbo].[T_TANITASIORATULAJDONSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402795405_402795403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402662505_402662503]...';


GO
ALTER TABLE [dbo].[T_ESLADATTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402662505_402662503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402838505_402838503]...';


GO
ALTER TABLE [dbo].[T_KKKEPESITESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402838505_402838503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_265686405_265686403]...';


GO
ALTER TABLE [dbo].[T_ONLINEUSER] WITH NOCHECK
    ADD CONSTRAINT [FK_265686405_265686403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_3833005_3833003]...';


GO
ALTER TABLE [dbo].[T_NEM] WITH NOCHECK
    ADD CONSTRAINT [FK_3833005_3833003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402571705_402571703]...';


GO
ALTER TABLE [dbo].[T_SZORGALOMERTEKELESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402571705_402571703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402849205_402849203]...';


GO
ALTER TABLE [dbo].[T_DIAKOLIMPIA] WITH NOCHECK
    ADD CONSTRAINT [FK_402849205_402849203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402820005_402820003]...';


GO
ALTER TABLE [dbo].[T_LICENCE] WITH NOCHECK
    ADD CONSTRAINT [FK_402820005_402820003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402762905_402762903]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZTATASTIPUSA] WITH NOCHECK
    ADD CONSTRAINT [FK_402762905_402762903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_1047705_1047703]...';


GO
ALTER TABLE [dbo].[T_ERRORTYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_1047705_1047703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402537005_402537003]...';


GO
ALTER TABLE [dbo].[T_LATASSERULTTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402537005_402537003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_102945805_102945803]...';


GO
ALTER TABLE [dbo].[T_TRANSACTIONSTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_102945805_102945803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402736205_402736203]...';


GO
ALTER TABLE [dbo].[T_FELVETELSTATUSZATIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402736205_402736203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402793505_402793503]...';


GO
ALTER TABLE [dbo].[T_NATKERDOIV] WITH NOCHECK
    ADD CONSTRAINT [FK_402793505_402793503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402659305_402659303]...';


GO
ALTER TABLE [dbo].[T_FOGLALKOZASARCHIV] WITH NOCHECK
    ADD CONSTRAINT [FK_402659305_402659303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402838405_402838403]...';


GO
ALTER TABLE [dbo].[T_KKSZAKTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402838405_402838403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_261224905_261224903]...';


GO
ALTER TABLE [dbo].[T_LOGINLINKS] WITH NOCHECK
    ADD CONSTRAINT [FK_261224905_261224903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_2552905_2552903]...';


GO
ALTER TABLE [dbo].[T_BANKACCOUNT] WITH NOCHECK
    ADD CONSTRAINT [FK_2552905_2552903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402569905_402569903]...';


GO
ALTER TABLE [dbo].[T_TANULOESEMENY] WITH NOCHECK
    ADD CONSTRAINT [FK_402569905_402569903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402589305_402589303]...';


GO
ALTER TABLE [dbo].[T_SCHEDULERTRIGGERS] WITH NOCHECK
    ADD CONSTRAINT [FK_402589305_402589303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402846405_402846403]...';


GO
ALTER TABLE [dbo].[T_ERTMONDATBANKTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402846405_402846403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402516905_402516903]...';


GO
ALTER TABLE [dbo].[T_GONDVISELO] WITH NOCHECK
    ADD CONSTRAINT [FK_402516905_402516903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402761905_402761903]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGISZINT] WITH NOCHECK
    ADD CONSTRAINT [FK_402761905_402761903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_987605_987603]...';


GO
ALTER TABLE [dbo].[T_EMAIL] WITH NOCHECK
    ADD CONSTRAINT [FK_987605_987603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402610905_402610903]...';


GO
ALTER TABLE [dbo].[T_SYSTEMSETTINGSCONTROLTYPE] WITH NOCHECK
    ADD CONSTRAINT [FK_402610905_402610903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402818705_402818703]...';


GO
ALTER TABLE [dbo].[T_PENZNEMTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402818705_402818703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402536005_402536003]...';


GO
ALTER TABLE [dbo].[T_ETKEZESIKEDVEZMENYTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402536005_402536003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_99084705_99084703]...';


GO
ALTER TABLE [dbo].[T_SCSTUDENTTEMPORARYCARD] WITH NOCHECK
    ADD CONSTRAINT [FK_99084705_99084703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402729805_402729803]...';


GO
ALTER TABLE [dbo].[T_UPLOADEDFILE] WITH NOCHECK
    ADD CONSTRAINT [FK_402729805_402729803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402653905_402653903]...';


GO
ALTER TABLE [dbo].[T_SOROLASOKATIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402653905_402653903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402838305_402838303]...';


GO
ALTER TABLE [dbo].[T_KKAMIZENEMUVKATTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402838305_402838303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402551805_402551803]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_402551805_402551803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402497605_402497603]...';


GO
ALTER TABLE [dbo].[T_LOG] WITH NOCHECK
    ADD CONSTRAINT [FK_402497605_402497603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402588805_402588803]...';


GO
ALTER TABLE [dbo].[T_SCHEDULERCONTEXTS] WITH NOCHECK
    ADD CONSTRAINT [FK_402588805_402588803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402842805_402842803]...';


GO
ALTER TABLE [dbo].[T_KKTANTARGYKATEGORIA] WITH NOCHECK
    ADD CONSTRAINT [FK_402842805_402842803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402569805_402569803]...';


GO
ALTER TABLE [dbo].[T_ESEMENYTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402569805_402569803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_261034805_261034803]...';


GO
ALTER TABLE [dbo].[T_LOGINNEWS] WITH NOCHECK
    ADD CONSTRAINT [FK_261034805_261034803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402761805_402761803]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGITIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402761805_402761803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402608805_402608803]...';


GO
ALTER TABLE [dbo].[T_SCHEDULERLOG] WITH NOCHECK
    ADD CONSTRAINT [FK_402608805_402608803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_2294205_2294203]...';


GO
ALTER TABLE [dbo].[T_CREDITCARDPAYMENT] WITH NOCHECK
    ADD CONSTRAINT [FK_2294205_2294203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402818405_402818403]...';


GO
ALTER TABLE [dbo].[T_MEROALLAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402818405_402818403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402535905_402535903]...';


GO
ALTER TABLE [dbo].[T_HATRANYOSHELYZETTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402535905_402535903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_99079205_99079203]...';


GO
ALTER TABLE [dbo].[T_SCAPPLICATIONFORMBATCH] WITH NOCHECK
    ADD CONSTRAINT [FK_99079205_99079203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402719205_402719203]...';


GO
ALTER TABLE [dbo].[T_IDOKERET] WITH NOCHECK
    ADD CONSTRAINT [FK_402719205_402719203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402653705_402653703]...';


GO
ALTER TABLE [dbo].[T_CSOPORTTIPUS_FOGLALKOZASTIPU] WITH NOCHECK
    ADD CONSTRAINT [FK_402653705_402653703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402836305_402836303]...';


GO
ALTER TABLE [dbo].[T_OSSZEFUGGOSZAKGYAK] WITH NOCHECK
    ADD CONSTRAINT [FK_402836305_402836303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402546505_402546503]...';


GO
ALTER TABLE [dbo].[T_CIMTARCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_402546505_402546503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402791105_402791103]...';


GO
ALTER TABLE [dbo].[T_KOZOSSEGISZOLGALATTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402791105_402791103] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402588505_402588503]...';


GO
ALTER TABLE [dbo].[T_SCHEDULERJOBS] WITH NOCHECK
    ADD CONSTRAINT [FK_402588505_402588503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402842705_402842703]...';


GO
ALTER TABLE [dbo].[T_KKKEPESITESJELLTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402842705_402842703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402515705_402515703]...';


GO
ALTER TABLE [dbo].[T_MUNKAKORTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402515705_402515703] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402760905_402760903]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGIEREDMENY] WITH NOCHECK
    ADD CONSTRAINT [FK_402760905_402760903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402607805_402607803]...';


GO
ALTER TABLE [dbo].[T_MULASZTASSTATISZTIKATIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402607805_402607803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402818305_402818303]...';


GO
ALTER TABLE [dbo].[T_MEROHELYTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402818305_402818303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402534005_402534003]...';


GO
ALTER TABLE [dbo].[T_VALLAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402534005_402534003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_99079105_99079103]...';


GO
ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYLES] WITH NOCHECK
    ADD CONSTRAINT [FK_99079105_99079103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_2288705_2288703]...';


GO
ALTER TABLE [dbo].[T_CREDITCARDREPLY] WITH NOCHECK
    ADD CONSTRAINT [FK_2288705_2288703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402718905_402718903]...';


GO
ALTER TABLE [dbo].[T_EPENZTARCABIZONYLAT] WITH NOCHECK
    ADD CONSTRAINT [FK_402718905_402718903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402569605_402569603]...';


GO
ALTER TABLE [dbo].[T_IGAZOLASTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402569605_402569603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402653005_402653003]...';


GO
ALTER TABLE [dbo].[T_KIRTELEPHELY] WITH NOCHECK
    ADD CONSTRAINT [FK_402653005_402653003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402546205_402546203]...';


GO
ALTER TABLE [dbo].[T_CIMTAR] WITH NOCHECK
    ADD CONSTRAINT [FK_402546205_402546203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_249131205_249131203]...';


GO
ALTER TABLE [dbo].[T_OTPJELENTESSTATUS] WITH NOCHECK
    ADD CONSTRAINT [FK_249131205_249131203] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402365005_402365003]...';


GO
ALTER TABLE [dbo].[T_AUTOMATICMESSAGES] WITH NOCHECK
    ADD CONSTRAINT [FK_402365005_402365003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402784705_402784703]...';


GO
ALTER TABLE [dbo].[T_OGTEREMFOGLALTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402784705_402784703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402586805_402586803]...';


GO
ALTER TABLE [dbo].[T_ERTESITES] WITH NOCHECK
    ADD CONSTRAINT [FK_402586805_402586803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402842505_402842503]...';


GO
ALTER TABLE [dbo].[T_KKJAZZZENE] WITH NOCHECK
    ADD CONSTRAINT [FK_402842505_402842503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402514805_402514803]...';


GO
ALTER TABLE [dbo].[T_MUKODESIHELY] WITH NOCHECK
    ADD CONSTRAINT [FK_402514805_402514803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402759905_402759903]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGITANTARGYADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402759905_402759903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402606805_402606803]...';


GO
ALTER TABLE [dbo].[T_TANULOTARGYMULASZTASSTATISZT] WITH NOCHECK
    ADD CONSTRAINT [FK_402606805_402606803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402817105_402817103]...';


GO
ALTER TABLE [dbo].[T_KOZMUSZAMLA] WITH NOCHECK
    ADD CONSTRAINT [FK_402817105_402817103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026254_4026253]...';


GO
ALTER TABLE [dbo].[T_TANEV] WITH NOCHECK
    ADD CONSTRAINT [FK_4026254_4026253] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_2107905_2107903]...';


GO
ALTER TABLE [dbo].[T_SYSTEMPARAMETER] WITH NOCHECK
    ADD CONSTRAINT [FK_2107905_2107903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_99079005_99079003]...';


GO
ALTER TABLE [dbo].[T_SCSTICKER] WITH NOCHECK
    ADD CONSTRAINT [FK_99079005_99079003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402718805_402718803]...';


GO
ALTER TABLE [dbo].[T_OSSZEGTULLEPESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402718805_402718803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402567905_402567903]...';


GO
ALTER TABLE [dbo].[T_CSENGETESIRENDORA] WITH NOCHECK
    ADD CONSTRAINT [FK_402567905_402567903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402636605_402636603]...';


GO
ALTER TABLE [dbo].[T_MUNKAIDOKEDVEZMENYOKA] WITH NOCHECK
    ADD CONSTRAINT [FK_402636605_402636603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402834805_402834803]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENERELEMSTATUSZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402834805_402834803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402545605_402545603]...';


GO
ALTER TABLE [dbo].[T_CSENGETESIREND] WITH NOCHECK
    ADD CONSTRAINT [FK_402545605_402545603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_248900605_248900603]...';


GO
ALTER TABLE [dbo].[T_OTPJELENTESEK] WITH NOCHECK
    ADD CONSTRAINT [FK_248900605_248900603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_881105_881103]...';


GO
ALTER TABLE [dbo].[T_PERSONMESSAGE] WITH NOCHECK
    ADD CONSTRAINT [FK_881105_881103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402784205_402784203]...';


GO
ALTER TABLE [dbo].[T_OGFOGLALKOZASFOGLALTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402784205_402784203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402842305_402842303]...';


GO
ALTER TABLE [dbo].[T_KKKLASSZIKUSZENE] WITH NOCHECK
    ADD CONSTRAINT [FK_402842305_402842303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402759805_402759803]...';


GO
ALTER TABLE [dbo].[T_ERETTSEGITANTARGY] WITH NOCHECK
    ADD CONSTRAINT [FK_402759805_402759803] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402586605_402586603]...';


GO
ALTER TABLE [dbo].[T_GONDVISELOERTESITES] WITH NOCHECK
    ADD CONSTRAINT [FK_402586605_402586603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402605305_402605303]...';


GO
ALTER TABLE [dbo].[T_TANULOMULASZTASSTATISZTIKA] WITH NOCHECK
    ADD CONSTRAINT [FK_402605305_402605303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402513905_402513903]...';


GO
ALTER TABLE [dbo].[T_ALKALMAZOTT] WITH NOCHECK
    ADD CONSTRAINT [FK_402513905_402513903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_2103805_2103803]...';


GO
ALTER TABLE [dbo].[T_DICTIONARYITEMBASE] WITH NOCHECK
    ADD CONSTRAINT [FK_2103805_2103803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402718105_402718103]...';


GO
ALTER TABLE [dbo].[T_EPENZTARCATETEL] WITH NOCHECK
    ADD CONSTRAINT [FK_402718105_402718103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402565905_402565903]...';


GO
ALTER TABLE [dbo].[T_MULASZTASTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402565905_402565903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402635305_402635303]...';


GO
ALTER TABLE [dbo].[T_BESOROLASIFOKOZATTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402635305_402635303] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402832105_402832103]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENER] WITH NOCHECK
    ADD CONSTRAINT [FK_402832105_402832103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_248860605_248860603]...';


GO
ALTER TABLE [dbo].[T_OTPJELENTESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_248860605_248860603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402816705_402816703]...';


GO
ALTER TABLE [dbo].[T_MEROHELY] WITH NOCHECK
    ADD CONSTRAINT [FK_402816705_402816703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_99078905_99078903]...';


GO
ALTER TABLE [dbo].[T_SCINSET] WITH NOCHECK
    ADD CONSTRAINT [FK_99078905_99078903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402544905_402544903]...';


GO
ALTER TABLE [dbo].[T_HETNAPJATIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402544905_402544903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402842105_402842103]...';


GO
ALTER TABLE [dbo].[T_KKAMIVEGZETTSEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402842105_402842103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_394052705_394052703]...';


GO
ALTER TABLE [dbo].[T_EMAILADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_394052705_394052703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_880005_880003]...';


GO
ALTER TABLE [dbo].[T_MESSAGE] WITH NOCHECK
    ADD CONSTRAINT [FK_880005_880003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402783805_402783803]...';


GO
ALTER TABLE [dbo].[T_OGEXPORTORAREND] WITH NOCHECK
    ADD CONSTRAINT [FK_402783805_402783803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402755805_402755803]...';


GO
ALTER TABLE [dbo].[T_TOVABBIMUNKAUGYIADATOK] WITH NOCHECK
    ADD CONSTRAINT [FK_402755805_402755803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402586505_402586503]...';


GO
ALTER TABLE [dbo].[T_ERTESITESTIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402586505_402586503] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402604205_402604203]...';


GO
ALTER TABLE [dbo].[T_OLDALLATOGATOTTSAG] WITH NOCHECK
    ADD CONSTRAINT [FK_402604205_402604203] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402565405_402565403]...';


GO
ALTER TABLE [dbo].[T_TANULOMULASZTAS] WITH NOCHECK
    ADD CONSTRAINT [FK_402565405_402565403] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4026362_4026361]...';


GO
ALTER TABLE [dbo].[T_INTEZMENYADATSZOLGALTATAS] WITH NOCHECK
    ADD CONSTRAINT [FK_4026362_4026361] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402831605_402831603]...';


GO
ALTER TABLE [dbo].[T_KIRKONTENERSTATUSZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402831605_402831603] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402718005_402718003]...';


GO
ALTER TABLE [dbo].[T_EPENZTARCATETELSTATUSZ] WITH NOCHECK
    ADD CONSTRAINT [FK_402718005_402718003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_242511905_242511903]...';


GO
ALTER TABLE [dbo].[T_KOZTERULETJELLEG] WITH NOCHECK
    ADD CONSTRAINT [FK_242511905_242511903] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402544105_402544103]...';


GO
ALTER TABLE [dbo].[T_TANEVRENDJE] WITH NOCHECK
    ADD CONSTRAINT [FK_402544105_402544103] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_2077505_2077503]...';


GO
ALTER TABLE [dbo].[T_TELEFON] WITH NOCHECK
    ADD CONSTRAINT [FK_2077505_2077503] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402816605_402816603]...';


GO
ALTER TABLE [dbo].[T_KOZMUSZAMLATIPUS] WITH NOCHECK
    ADD CONSTRAINT [FK_402816605_402816603] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_99078805_99078803]...';


GO
ALTER TABLE [dbo].[T_SCTEMPORARYCARD] WITH NOCHECK
    ADD CONSTRAINT [FK_99078805_99078803] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402841905_402841903]...';


GO
ALTER TABLE [dbo].[T_KKGYOGYPEDVEGZETTSEG] WITH NOCHECK
    ADD CONSTRAINT [FK_402841905_402841903] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_394046705_394046703]...';


GO
ALTER TABLE [dbo].[T_DIGESTEMAILMESSAGE] WITH NOCHECK
    ADD CONSTRAINT [FK_394046705_394046703] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402783305_402783303]...';


GO
ALTER TABLE [dbo].[T_OGORARENDIORA] WITH NOCHECK
    ADD CONSTRAINT [FK_402783305_402783303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402529405_402529403]...';


GO
ALTER TABLE [dbo].[T_OSZTALY] WITH NOCHECK
    ADD CONSTRAINT [FK_402529405_402529403] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402586305_402586303]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOERTESITES] WITH NOCHECK
    ADD CONSTRAINT [FK_402586305_402586303] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402601005_402601003]...';


GO
ALTER TABLE [dbo].[T_FELADATELLATASIHELY] WITH NOCHECK
    ADD CONSTRAINT [FK_402601005_402601003] FOREIGN KEY ([C_TANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025602_4025601]...';


GO
ALTER TABLE [dbo].[T_TANITASIORA] WITH NOCHECK
    ADD CONSTRAINT [FK_4025602_4025601] FOREIGN KEY ([C_TANMENETID]) REFERENCES [dbo].[T_TANMENET] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025597_4025595]...';


GO
ALTER TABLE [dbo].[T_TANMENET] WITH NOCHECK
    ADD CONSTRAINT [FK_4025597_4025595] FOREIGN KEY ([C_TANTARGYID]) REFERENCES [dbo].[T_TANTARGY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025605_4025604]...';


GO
ALTER TABLE [dbo].[T_TANMENET] WITH NOCHECK
    ADD CONSTRAINT [FK_4025605_4025604] FOREIGN KEY ([C_FELTOLTOID]) REFERENCES [dbo].[T_ALKALMAZOTT] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402555602_402555600]...';


GO
ALTER TABLE [dbo].[T_TANMENET] WITH NOCHECK
    ADD CONSTRAINT [FK_402555602_402555600] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402551802_402551800]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_402551802_402551800] FOREIGN KEY ([C_INTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025527_4025525]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025527_4025525] FOREIGN KEY ([C_TANULOID]) REFERENCES [dbo].[T_TANULO] ([ID]);


GO
PRINT N'Creating [dbo].[FK_4025518_4028359]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025518_4028359] FOREIGN KEY ([C_AGAZAT], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_AGAZATTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025518_4028360]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025518_4028360] FOREIGN KEY ([C_RESZSZAKKEPESITES], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_RESZSZAKKEPESITESTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025518_4028361]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025518_4028361] FOREIGN KEY ([C_SZAKKEPESITES], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_SZAKKEPESITESTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_4025518_4028362]...';


GO
ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH NOCHECK
    ADD CONSTRAINT [FK_4025518_4028362] FOREIGN KEY ([C_SZAKMACSOPORT], [C_INTEZMENYID], [C_TANEVID]) REFERENCES [dbo].[T_SZAKMACSOPORTTIPUS] ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]);


GO
PRINT N'Creating [dbo].[FK_T_21038_4028591]...';


GO
ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA] WITH NOCHECK
    ADD CONSTRAINT [FK_T_21038_4028591] FOREIGN KEY ([ID], [C_ALINTEZMENYID], [C_ALTANEVID]) REFERENCES [dbo].[T_DICTIONARYITEMBASE] ([ID], [C_INTEZMENYID], [C_TANEVID]);


GO
PRINT N'Creating [dbo].[FK_402859002_402859000]...';


GO
ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA] WITH NOCHECK
    ADD CONSTRAINT [FK_402859002_402859000] FOREIGN KEY ([C_ALINTEZMENYID]) REFERENCES [dbo].[T_INTEZMENY] ([ID]);


GO
PRINT N'Creating [dbo].[FK_402859005_402859003]...';


GO
ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA] WITH NOCHECK
    ADD CONSTRAINT [FK_402859005_402859003] FOREIGN KEY ([C_ALTANEVID]) REFERENCES [dbo].[T_TANEV] ([ID]);


GO
PRINT N'Creating [dbo].[CK_FelhasznaloBelepes_PasswordValidation]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH NOCHECK
    ADD CONSTRAINT [CK_FelhasznaloBelepes_PasswordValidation] CHECK (NOT ([C_JELSZO] IS NOT NULL AND len([C_JELSZO])<>(28) AND NOT [C_JELSZO] like '%='));


GO
PRINT N'Creating [dbo].[CK_FelhasznaloBelepes_GuidValidation]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH NOCHECK
    ADD CONSTRAINT [CK_FelhasznaloBelepes_GuidValidation] CHECK ([dbo].[fnGuidValidation]([C_BEJELENTKEZESINEV],[C_INTEZMENYID],[TOROLT],[C_GUID])<=(1));


GO
PRINT N'Creating [dbo].[CK_FelhasznaloBelepes_SoNullValidation]...';


GO
ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH NOCHECK
    ADD CONSTRAINT [CK_FelhasznaloBelepes_SoNullValidation] CHECK (NOT ([C_JELSZO] IS NOT NULL AND [C_SO] IS NULL AND [C_NEPTUNNAPLOJELSZO] IS NULL));



GO
PRINT N'Refreshing [dbo].[T_ERTEKELESMONDATBANK_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_ERTEKELESMONDATBANK_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_ESZKOZ_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_ESZKOZ_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_FELHASZNALO_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_FELHASZNALO_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_FELHASZNALOBELEPES_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_FELHASZNALOBELEPES_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_MUNKAUGYIADATOK_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_MUNKAUGYIADATOK_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_OKTATASINEVELESIFELADAT_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_OKTATASINEVELESIFELADAT_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_OSZTALYCSOPORT_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_OSZTALYCSOPORT_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_TANEV_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_TANEV_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_TANMENET_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_TANMENET_OSSZES]';


GO
PRINT N'Refreshing [dbo].[T_TANULOCSOPORT_OSSZES]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[T_TANULOCSOPORT_OSSZES]';


GO
PRINT N'Creating [dbo].[T_OKTNEVELESIKATEGORIA_OSSZES]...';


GO
CREATE VIEW [dbo].T_OKTNEVELESIKATEGORIA_OSSZES
        AS
        SELECT *
        FROM dbo.T_OKTNEVELESIKATEGORIA
GO
PRINT N'Refreshing [dbo].[fnGetDokumentumIntezmenyPedagogusok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumIntezmenyPedagogusok]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumKapcsolodoOsztalycsoportok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumKapcsolodoOsztalycsoportok]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyokTanevenkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyokTanevenkent]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyVagyTanoraiCsoport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyVagyTanoraiCsoport]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyMegtartottOrakSzama]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyMegtartottOrakSzama]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyokCsoportokTanuloi]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyokCsoportokTanuloi]';

GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanulokOsztalybanToltottNapjai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanulokOsztalybanToltottNapjai]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanuloZaradekai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanuloZaradekai]';


GO
PRINT N'Refreshing [dbo].[fnGetKapcsolodoOsztalycsoportok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetKapcsolodoOsztalycsoportok]';


GO
PRINT N'Refreshing [dbo].[fnGetKapcsolodoOsztalycsoportokByDate]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetKapcsolodoOsztalycsoportokByDate]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumOsszefuggoSzakmaiGyakorlat]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsszefuggoSzakmaiGyakorlat]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanuloMentessegei]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanuloMentessegei]';


GO
PRINT N'Refreshing [dbo].[fnGetUtkozesByOsztalycsoport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetUtkozesByOsztalycsoport]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanulokAdatai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanulokAdatai]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumKozossegiSzolgalatOsztalyonkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumKozossegiSzolgalatOsztalyonkent]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanuloiAlapadatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanuloiAlapadatok]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumMegtartottOrak]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumMegtartottOrak]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanulokFeljegyzesei]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanulokFeljegyzesei]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumMulasztasokOsztalyonkentReszletes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumMulasztasokOsztalyonkentReszletes]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyTanuloinakMegtartottOrakTantargyankent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyTanuloinakMegtartottOrakTantargyankent]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumErtekelesekMuveszetiOktatasbanOsztalyonkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumErtekelesekMuveszetiOktatasbanOsztalyonkent]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyTanuloinakMegtarthatoOrakTantargyankent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyTanuloinakMegtarthatoOrakTantargyankent]';


GO
PRINT N'Refreshing [dbo].[fnGetLemorzsolodottTanulokByFelhely]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetLemorzsolodottTanulokByFelhely]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumErtekelesekOsztalyonkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumErtekelesekOsztalyonkent]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet]';


GO
PRINT N'Refreshing [dbo].[fnGetOsztalyCsoportTanuloOsztalyList]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetOsztalyCsoportTanuloOsztalyList]';


GO
PRINT N'Refreshing [dbo].[fnGetTanorak]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetTanorak]';


GO
PRINT N'Refreshing [dbo].[fnGetTanuloOsztaly]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetTanuloOsztaly]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanulokTanultTantargyai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanulokTanultTantargyai]';


GO
PRINT N'Refreshing [dbo].[fnGetKopcsolodoOsztalyCsoportokByDateRange]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetKopcsolodoOsztalyCsoportokByDateRange]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumGondviselok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumGondviselok]';


GO
PRINT N'Refreshing [dbo].[fnGetDokumentumTanuloOrGondviseloCim]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanuloOrGondviseloCim]';


GO
PRINT N'Refreshing [dbo].[sp_ImportTanuloErtekelesMondatbank]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportTanuloErtekelesMondatbank]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloErtekelesMondatbankData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloErtekelesMondatbankData]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloErtekelesMondatbankExportData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloErtekelesMondatbankExportData]';


GO
PRINT N'Refreshing [dbo].[sp_ImportEszkozok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportEszkozok]';


GO
PRINT N'Refreshing [dbo].[sp_DeleteAlkalmazottak]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_DeleteAlkalmazottak]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpEszkoz]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpEszkoz]';


GO
PRINT N'Refreshing [dbo].[sp_GetAdminDashboardStatisztika]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAdminDashboardStatisztika]';


GO
PRINT N'Refreshing [dbo].[sp_GetHelyettesitesekOrarend]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHelyettesitesekOrarend]';


GO
PRINT N'Refreshing [dbo].[sp_HelyettesitesekKeresese]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_HelyettesitesekKeresese]';


GO
PRINT N'Refreshing [dbo].[sp_Nyomtatvany_Excel_OsztalyTanuloinakMulasztasiSzazalekStatisztika]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_OsztalyTanuloinakMulasztasiSzazalekStatisztika]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendiOrakhozTartozoTanarok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendiOrakhozTartozoTanarok]';


GO
PRINT N'Refreshing [dbo].[sp_ValidateTanuloListTanuloMenessegToErtekeles]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ValidateTanuloListTanuloMenessegToErtekeles]';


GO
PRINT N'Refreshing [dbo].[sp_CheckFelhasznaloHasSzerepkor]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_CheckFelhasznaloHasSzerepkor]';


GO
PRINT N'Refreshing [dbo].[sp_ExportEsl_A03T01_1]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ExportEsl_A03T01_1]';


GO
PRINT N'Refreshing [dbo].[sp_FoglalkozasArchiv]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FoglalkozasArchiv]';


GO
PRINT N'Refreshing [dbo].[sp_GetAttanitasok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAttanitasok]';


GO
PRINT N'Refreshing [dbo].[sp_GetElozoOraAdatai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetElozoOraAdatai]';


GO
PRINT N'Refreshing [dbo].[sp_GetErettsegiEredmenyekData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetErettsegiEredmenyekData]';


GO
PRINT N'Refreshing [dbo].[sp_GetESL_A03T01_1]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetESL_A03T01_1]';


GO
PRINT N'Refreshing [dbo].[sp_GetFaliujsagBejegyzesek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFaliujsagBejegyzesek]';


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloOsztalyaiByFoglalkozas]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloOsztalyaiByFoglalkozas]';


GO
PRINT N'Refreshing [dbo].[sp_GetFeljegyzesBeirasokData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFeljegyzesBeirasokData]';


GO
PRINT N'Refreshing [dbo].[sp_GetFeljegyzesElektronikusUzenetekListaNezetData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFeljegyzesElektronikusUzenetekListaNezetData]';


GO
PRINT N'Refreshing [dbo].[sp_GetFeljegyzesElektronikusUzenetekModifyPopupData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFeljegyzesElektronikusUzenetekModifyPopupData]';


GO
PRINT N'Refreshing [dbo].[sp_GetFeljegyzesElektronikusUzenetekNaploNezetData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFeljegyzesElektronikusUzenetekNaploNezetData]';


GO
PRINT N'Refreshing [dbo].[sp_GetFeljegyzesFaliujsagBejegyzesekData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFeljegyzesFaliujsagBejegyzesekData]';


GO
PRINT N'Refreshing [dbo].[sp_GetHazifeladatOrarend]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHazifeladatOrarend]';


GO
PRINT N'Refreshing [dbo].[sp_GetHelyettesitesekAjanlasa]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHelyettesitesekAjanlasa]';


GO
PRINT N'Refreshing [dbo].[sp_GetHozzatartozoJelszoAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHozzatartozoJelszoAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetHozzatartozok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHozzatartozok]';


GO
PRINT N'Refreshing [dbo].[sp_GetIntezmenyFeltoltottsegeRiport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetIntezmenyFeltoltottsegeRiport]';


GO
PRINT N'Refreshing [dbo].[sp_GetJsonForMobileTanarProfil]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetJsonForMobileTanarProfil]';


GO
PRINT N'Refreshing [dbo].[sp_GetJsonForMobileTanoraListaPart1]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetJsonForMobileTanoraListaPart1]';


GO
PRINT N'Refreshing [dbo].[sp_GetJsonForMobileTanoraListaPart2]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetJsonForMobileTanoraListaPart2]';


GO
PRINT N'Refreshing [dbo].[sp_GetJsonForMobileTanuloLista]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetJsonForMobileTanuloLista]';


GO
PRINT N'Refreshing [dbo].[sp_GetKozossegiSzolgalatokData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetKozossegiSzolgalatokData]';


GO
PRINT N'Refreshing [dbo].[sp_GetMulasztasokNaploNezetData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetMulasztasokNaploNezetData]';


GO
PRINT N'Refreshing [dbo].[sp_GetNapkozisCsoportTanuloinakHaviMulasztasiOsszesitoje_1]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNapkozisCsoportTanuloinakHaviMulasztasiOsszesitoje_1]';


GO
PRINT N'Refreshing [dbo].[sp_GetNaploEllenorzes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNaploEllenorzes]';


GO
PRINT N'Refreshing [dbo].[sp_GetNaploEllenorzesTetelek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNaploEllenorzesTetelek]';


GO
PRINT N'Refreshing [dbo].[sp_GetOraMentessegList]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOraMentessegList]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsszesNemBejegyzettOra]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsszesNemBejegyzettOra]';


GO
PRINT N'Refreshing [dbo].[sp_GetPedagogusIKTAdatszolgaltatasForGrid]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusIKTAdatszolgaltatasForGrid]';


GO
PRINT N'Refreshing [dbo].[sp_GetPedagogusStatuszRiport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusStatuszRiport]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportBetoltetlenAllashelyek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportBetoltetlenAllashelyek]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportTanariAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportTanariAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportTantargyiOktatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportTantargyiOktatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportTanulokAdatai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportTanulokAdatai]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportTanuloKorfa]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportTanuloKorfa]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanevrendjeErintettOrarendiOrai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanevrendjeErintettOrarendiOrai]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloBelepesiAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloBelepesiAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloJelszoAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloJelszoAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_Global_GetDatabaseErrors]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Global_GetDatabaseErrors]';


GO
PRINT N'Refreshing [dbo].[sp_IsEPenztarcaLetezik]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_IsEPenztarcaLetezik]';


GO
PRINT N'Refreshing [dbo].[sp_SetRendszerErtesitesek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_SetRendszerErtesitesek]';


GO
PRINT N'Refreshing [dbo].[sp_TeremKapacitasTullepesVizsgalat]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_TeremKapacitasTullepesVizsgalat]';


GO
PRINT N'Refreshing [dbo].[sp_ValidateTanuloTanuloMenessegToErtekeles]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ValidateTanuloTanuloMenessegToErtekeles]';


GO
PRINT N'Refreshing [dbo].[sp_GetESL_A03T02_1]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetESL_A03T02_1]';


GO
PRINT N'Refreshing [dbo].[sp_GetESL_A03T03_1]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetESL_A03T03_1]';


GO
PRINT N'Refreshing [dbo].[sp_GetAlkalmazottMunkaugyiAdataiExport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAlkalmazottMunkaugyiAdataiExport]';


GO
PRINT N'Refreshing [dbo].[sp_GetCsoportNaplo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetCsoportNaplo]';


GO
PRINT N'Refreshing [dbo].[sp_GetDokumentumHelyettesitesekByDateInterval]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumHelyettesitesekByDateInterval]';


GO
PRINT N'Refreshing [dbo].[sp_GetElfogadottTantargyfelosztasok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetElfogadottTantargyfelosztasok]';


GO
PRINT N'Refreshing [dbo].[sp_GetSzakmaiGyNaplo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetSzakmaiGyNaplo]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanoranKivuliNaplo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanoranKivuliNaplo]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloiAdatlapAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloiAdatlapAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokFeljegyzesekReszletezese]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokFeljegyzesekReszletezese]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokFelmentesekHatarozatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokFelmentesekHatarozatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokJegyeiReszletezes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokJegyeiReszletezes]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokLakcimmel]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokLakcimmel]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokMulasztasokReszletezese]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokMulasztasokReszletezese]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokTantargyMulasztasokReszletezese]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokTantargyMulasztasokReszletezese]';


GO
PRINT N'Refreshing [dbo].[sp_GetFogadooraInfo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFogadooraInfo]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloszerzodes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloszerzodes]';


GO
PRINT N'Refreshing [dbo].[sp_GetGondviselokElerhetosegei]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetGondviselokElerhetosegei]';


GO
PRINT N'Refreshing [dbo].[sp_GetUzenofuzetErtekelolap]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetUzenofuzetErtekelolap]';


GO
PRINT N'Refreshing [dbo].[sp_GetHianyzoDuplikaltTanarok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHianyzoDuplikaltTanarok]';


GO
PRINT N'Refreshing [dbo].[sp_GetHianyzoDuplikaltTanarokFeladatellatasiHelynelkul]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHianyzoDuplikaltTanarokFeladatellatasiHelynelkul]';


GO
PRINT N'Refreshing [dbo].[sp_ImportASC]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportASC]';


GO
PRINT N'Refreshing [dbo].[sp_GetIskolalatogatasiIgazolas]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetIskolalatogatasiIgazolas]';


GO
PRINT N'Refreshing [dbo].[sp_GetKozossegiJelentkezesLap]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetKozossegiJelentkezesLap]';


GO
PRINT N'Refreshing [dbo].[sp_GetMunkaidoElszamoloLap]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetMunkaidoElszamoloLap]';


GO
PRINT N'Refreshing [dbo].[sp_GetNapkozisNaplo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNapkozisNaplo]';


GO
PRINT N'Refreshing [dbo].[sp_KIRImportTanarok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_KIRImportTanarok]';


GO
PRINT N'Refreshing [dbo].[sp_KIRImportTanulok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_KIRImportTanulok]';


GO
PRINT N'Refreshing [dbo].[sp_Nyomtatvany_Excel_OsztalyTanuloinakGyakorlatiOraMulasztasiSzazalekStatisztika]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_OsztalyTanuloinakGyakorlatiOraMulasztasiSzazalekStatisztika]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendTanoranKivuli]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendTanoranKivuli]';


GO
PRINT N'Refreshing [dbo].[sp_AktivTanevValtasa]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_AktivTanevValtasa]';


GO
PRINT N'Refreshing [dbo].[sp_Check4TValidation]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Check4TValidation]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpAlkalmazottPEP]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpAlkalmazottPEP]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpAlkalmazottTovabbiMunkaugy]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpAlkalmazottTovabbiMunkaugy]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpAlkalmazottVegzettseg]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpAlkalmazottVegzettseg]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpAlkalmazottVegzettsegKK]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpAlkalmazottVegzettsegKK]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpTanuloFelmentes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpTanuloFelmentes]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpTerem]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpTerem]';


GO
PRINT N'Refreshing [dbo].[sp_GetAdminDashboardAdminisztracio]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAdminDashboardAdminisztracio]';


GO
PRINT N'Refreshing [dbo].[sp_GetAdminDashboardNaplo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAdminDashboardNaplo]';


GO
PRINT N'Refreshing [dbo].[sp_GetAlkalmazottMunkaugyiExport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAlkalmazottMunkaugyiExport]';

GO
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanuloNaploSorszam]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanuloNaploSorszam]';


GO
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanuloOrarend]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanuloOrarend]';


GO
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanuloOrarendOsztalyonkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanuloOrarendOsztalyonkent]';


GO
PRINT N'Refreshing [dbo].[sp_GetErtekelesFotargyiFoglalkozasData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetErtekelesFotargyiFoglalkozasData]';


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloBelepesAlkalmazottExportData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloBelepesAlkalmazottExportData]';


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloBelepesGondviseloExportData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloBelepesGondviseloExportData]';


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloBelepesTanuloExportData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloBelepesTanuloExportData]';


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloFoglalkozasokErtekelesekhez]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloFoglalkozasokErtekelesekhez]';


GO
PRINT N'Refreshing [dbo].[sp_GetFeljegyzesBeirasokReszletek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFeljegyzesBeirasokReszletek]';


GO
PRINT N'Refreshing [dbo].[sp_GetFeljegyzesElektronikusUzenetekNaploNezetReszletek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFeljegyzesElektronikusUzenetekNaploNezetReszletek]';


GO
PRINT N'Refreshing [dbo].[sp_GetHaladasiNaploAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHaladasiNaploAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetHelyettesitesiNaplo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHelyettesitesiNaplo]';


GO
PRINT N'Refreshing [dbo].[sp_GetIktSzandeknyilatkozatAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetIktSzandeknyilatkozatAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetKozossegiSzolgalatokReszletek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetKozossegiSzolgalatokReszletek]';


GO
PRINT N'Refreshing [dbo].[sp_GetKozossegiSzolgalatOsszesOraszam]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetKozossegiSzolgalatOsszesOraszam]';


GO
PRINT N'Refreshing [dbo].[sp_GetNemKotottMunkaidoReszletezo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNemKotottMunkaidoReszletezo]';


GO
PRINT N'Refreshing [dbo].[sp_GetOralatogatasok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOralatogatasok]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendErvenyesseggelExcelExportData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendErvenyesseggelExcelExportData]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendExcelExportData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendExcelExportData]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendKereszttabla_Osztaly]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendKereszttabla_Osztaly]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendKereszttabla_Pedagogus]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendKereszttabla_Pedagogus]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendKereszttabla_Terem]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendKereszttabla_Terem]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendOsztalyonkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendOsztalyonkent]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsszesFelhasznaloBelepesData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsszesFelhasznaloBelepesData]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyokEvesOraszama]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyokEvesOraszama]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyokTanuloi]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyokTanuloi]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyTanuloinakHaviMulasztasaiOsszesitoje_honapra]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyTanuloinakHaviMulasztasaiOsszesitoje_honapra]';


GO
PRINT N'Refreshing [dbo].[sp_GetPedagogusAltalAdottErtekelesek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusAltalAdottErtekelesek]';


GO
PRINT N'Refreshing [dbo].[sp_GetPedagogusOrarend]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusOrarend]';


GO
PRINT N'Refreshing [dbo].[sp_GetStatTanuloTantargyiMulasztasMegtartott]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetStatTanuloTantargyiMulasztasMegtartott]';


GO
PRINT N'Refreshing [dbo].[sp_GetStatTanuloTantargyiMulasztasTanevbenMegtarthato]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetStatTanuloTantargyiMulasztasTanevbenMegtarthato]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanarOrarendLefedettseg]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanarOrarendLefedettseg]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanevKozbenKilepettTanulok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanevKozbenKilepettTanulok]';


GO
PRINT N'Refreshing [dbo].[sp_GetTantargyakElmaradtOraiTanaronkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTantargyakElmaradtOraiTanaronkent]';


GO
PRINT N'Refreshing [dbo].[sp_GetTantargyakMegtartottOraiTanaronkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTantargyakMegtartottOraiTanaronkent]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloExport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloExport]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloGondviseloExportData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloGondviseloExportData]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloiAlapadatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloiAlapadatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloiEgyebAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloiEgyebAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokJelenletiIvAlkalmankent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokJelenletiIvAlkalmankent]';


GO
PRINT N'Refreshing [dbo].[sp_GetTeremOrarend]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTeremOrarend]';


GO
PRINT N'Refreshing [dbo].[sp_Nyomtatvany_Excel_IdoszakiOsztalyokCsoportokTantargyiStatisztika]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_IdoszakiOsztalyokCsoportokTantargyiStatisztika]';


GO
PRINT N'Refreshing [dbo].[sp_Nyomtatvany_Excel_IdoszakiOsztalyokTantargyiStatisztika]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_IdoszakiOsztalyokTantargyiStatisztika]';


GO
PRINT N'Refreshing [dbo].[sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika]';


GO
PRINT N'Refreshing [dbo].[sp_Nyomtatvany_Excel_IdoszakiTanuloStatisztika]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_IdoszakiTanuloStatisztika]';


GO
PRINT N'Refreshing [dbo].[sp_Nyomtatvany_Excel_OsztalyTanuloinakMegtartottOraMulasztasiSzazalekStatisztika]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_OsztalyTanuloinakMegtartottOraMulasztasiSzazalekStatisztika]';


GO
PRINT N'Refreshing [dbo].[sp_PedagogusNemBejegyzettOrai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_PedagogusNemBejegyzettOrai]';


GO
PRINT N'Refreshing [dbo].[sp_PedagogusNemBejegyzettOraiOsszes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_PedagogusNemBejegyzettOraiOsszes]';


GO
PRINT N'Refreshing [dbo].[sp_TantargyfelosztasImport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_TantargyfelosztasImport]';


GO
PRINT N'Refreshing [dbo].[sp_TanuloKIRStatAdatokGyorsExport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_TanuloKIRStatAdatokGyorsExport]';


GO
PRINT N'Refreshing [dbo].[uspFollowUpFelhasznaloCim]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspFollowUpFelhasznaloCim]';


GO
PRINT N'Refreshing [dbo].[uspFollowUpFelhasznaloEmail]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspFollowUpFelhasznaloEmail]';


GO
PRINT N'Refreshing [dbo].[uspFollowUpFelhasznaloTelefon]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspFollowUpFelhasznaloTelefon]';


GO
PRINT N'Refreshing [dbo].[uspGetTanuloErtekelesDataSetByFotargyAltargy]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspGetTanuloErtekelesDataSetByFotargyAltargy]';


GO
PRINT N'Refreshing [dbo].[uspGetTanuloErtekelesDataSetByMagatartasSzorgalom]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspGetTanuloErtekelesDataSetByMagatartasSzorgalom]';


GO
PRINT N'Refreshing [dbo].[uspGetTanuloErtekelesDataSetByTantargy]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspGetTanuloErtekelesDataSetByTantargy]';


GO
PRINT N'Refreshing [dbo].[uspGetTanuloErtekelesDataSetByTanulo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspGetTanuloErtekelesDataSetByTanulo]';


GO
PRINT N'Refreshing [dbo].[sp_GetNapkozisCsoportTanuloinakHaviMulasztasiOsszesitoje]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNapkozisCsoportTanuloinakHaviMulasztasiOsszesitoje]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyOrarend]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyOrarend]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyOrarendOsszes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyOrarendOsszes]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyTanuloinakHaviMulasztasaiOsszesitoje]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyTanuloinakHaviMulasztasaiOsszesitoje]';


GO
PRINT N'Refreshing [dbo].[sp_GetTeremOrarendOsszes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTeremOrarendOsszes]';


GO
PRINT N'Refreshing [dbo].[sp_HozzaferesGeneralas]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_HozzaferesGeneralas]';


GO
PRINT N'Refreshing [dbo].[sp_JelszoResetGondviselo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_JelszoResetGondviselo]';


GO
PRINT N'Refreshing [dbo].[sp_JelszoResetTanulo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_JelszoResetTanulo]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloiGondviseloAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloiGondviseloAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloJogok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloJogok]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportAllashelyKimutatas]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportAllashelyKimutatas]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportCsoportnontas]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportCsoportnontas]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanarKapcsolodoOsztalyai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanarKapcsolodoOsztalyai]';


GO
PRINT N'Refreshing [dbo].[sp_GetTantargyiStatuszPedagogusonkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTantargyiStatuszPedagogusonkent]';


GO
PRINT N'Refreshing [dbo].[sp_GetTantargyStatuszRiport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTantargyStatuszRiport]';


GO
PRINT N'Refreshing [dbo].[sp_GetUserRoles]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetUserRoles]';


GO
PRINT N'Refreshing [dbo].[sp_IsAlkalmazottPedagogus]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_IsAlkalmazottPedagogus]';


GO
PRINT N'Refreshing [dbo].[sp_GetHelyettesitesIdoszakLetrehozoSzerepkor]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHelyettesitesIdoszakLetrehozoSzerepkor]';


GO
PRINT N'Refreshing [dbo].[sp_ImportCsoportok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportCsoportok]';


GO
PRINT N'Refreshing [dbo].[sp_ImportOsztalyok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportOsztalyok]';


GO
PRINT N'Refreshing [dbo].[sp_AscValidateOsztalyCsoportTantargy]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_AscValidateOsztalyCsoportTantargy]';


GO
PRINT N'Refreshing [dbo].[sp_GetOrarendiorakhozTartozoTanulok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendiorakhozTartozoTanulok]';


GO
PRINT N'Refreshing [dbo].[sp_GetAllOsztalyCsoport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAllOsztalyCsoport]';


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloErintettOsztalyai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloErintettOsztalyai]';


GO
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloErintettTargyai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloErintettTargyai]';


GO
PRINT N'Refreshing [dbo].[sp_GetFeljegyzesFaliujsagBejegyzesekPopupData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFeljegyzesFaliujsagBejegyzesekPopupData]';


GO
PRINT N'Refreshing [dbo].[sp_GetJsonForMobileFoglalkozasokListaja]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetJsonForMobileFoglalkozasokListaja]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyokHaviHianyzasiOsszesitoje_honapra]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyokHaviHianyzasiOsszesitoje_honapra]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportCsoportbontasosOrakSzamaTipusokSzerint]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportCsoportbontasosOrakSzamaTipusokSzerint]';


GO
PRINT N'Refreshing [dbo].[sp_GetRiportTanorakSzamaCsoporttipusonkent]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportTanorakSzamaCsoporttipusonkent]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokMulasztasaiKesesei]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokMulasztasaiKesesei]';


GO
PRINT N'Refreshing [dbo].[uspGetOsztalycsoportTantargyiMulasztasai]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[uspGetOsztalycsoportTantargyiMulasztasai]';


GO
PRINT N'Refreshing [dbo].[sp_CheckTanuloListEgyszerAdhatoTanuloErtekelesValidation]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_CheckTanuloListEgyszerAdhatoTanuloErtekelesValidation]';


GO
PRINT N'Refreshing [dbo].[sp_CheckTanuloEgyszerAdhatoTanuloErtekelesValidation]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_CheckTanuloEgyszerAdhatoTanuloErtekelesValidation]';


GO
PRINT N'Refreshing [dbo].[sp_DeleteAllTTF]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_DeleteAllTTF]';


GO
PRINT N'Refreshing [dbo].[sp_GetNaplobaNemBejegyzettFoglalkozasok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNaplobaNemBejegyzettFoglalkozasok]';


GO
PRINT N'Refreshing [dbo].[sp_GetTantargyakElmaradtOraszama]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTantargyakElmaradtOraszama]';


GO
PRINT N'Refreshing [dbo].[sp_GetTantargyakMegtartottOraszama]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTantargyakMegtartottOraszama]';


GO
PRINT N'Refreshing [dbo].[sp_GetDokumentumErtekelesek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumErtekelesek]';


GO
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanitasiNapokSorszama]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanitasiNapokSorszama]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanuloErtekelesDetailDataSet]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanuloErtekelesDetailDataSet]';


GO
PRINT N'Refreshing [dbo].[sp_GetEgyuttmukodesiMeglallapodas]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetEgyuttmukodesiMeglallapodas]';


GO
PRINT N'Refreshing [dbo].[sp_GenerateNaptariNapok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GenerateNaptariNapok]';


GO
PRINT N'Refreshing [dbo].[sp_GetFenntartoIntezmenyei]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFenntartoIntezmenyei]';


GO
PRINT N'Refreshing [dbo].[sp_Global_SetSystemSettingsDefaultData]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Global_SetSystemSettingsDefaultData]';


GO
PRINT N'Refreshing [dbo].[sp_GenerateNaptariHetek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GenerateNaptariHetek]';


GO
PRINT N'Refreshing [dbo].[sp_GetFoglalkozasokMegtartandoOraSzama]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFoglalkozasokMegtartandoOraSzama]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanevrendNegyedevek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanevrendNegyedevek]';


GO
PRINT N'Refreshing [dbo].[sp_GetTanulokMegtartandoOraSzama]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokMegtartandoOraSzama]';


GO
PRINT N'Refreshing [dbo].[sp_ImportTanmenetek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportTanmenetek]';


GO
PRINT N'Refreshing [dbo].[sp_UpdateTantargyfelosztasVisszamenoleges]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_UpdateTantargyfelosztasVisszamenoleges]';


GO
PRINT N'Refreshing [dbo].[sp_GetElozoOranHianyzottTanulok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetElozoOranHianyzottTanulok]';


GO
PRINT N'Refreshing [dbo].[sp_ImportTanuloBesorolas]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportTanuloBesorolas]';


GO
PRINT N'Refreshing [dbo].[sp_CsoportKisorolasok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_CsoportKisorolasok]';


GO
PRINT N'Refreshing [dbo].[sp_GetDokumentumMulasztasok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumMulasztasok]';


GO
PRINT N'Refreshing [dbo].[sp_GetStatPedagogusTanuloinakTantargyiMulasztasaiMegtartott]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetStatPedagogusTanuloinakTantargyiMulasztasaiMegtartott]';


GO
PRINT N'Refreshing [dbo].[sp_GetUtkozes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetUtkozes]';


GO
PRINT N'Refreshing [dbo].[sp_GetPedagogusOrarendOsszes]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusOrarendOsszes]';


GO
PRINT N'Refreshing [dbo].[sp_GetErtesitesAltEsMulAdatok]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetErtesitesAltEsMulAdatok]';


GO
PRINT N'Refreshing [dbo].[sp_GetErtesitoNyomtatvany]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetErtesitoNyomtatvany]';


GO
PRINT N'Refreshing [dbo].[sp_GetTorzslap]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTorzslap]';


GO
PRINT N'Refreshing [dbo].[sp_ImportTantargyFelosztas]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportTantargyFelosztas]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyNaplo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyNaplo]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpAlkalmazott]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpAlkalmazott]';


GO
PRINT N'Refreshing [dbo].[sp_FollowUpTanulo]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_FollowUpTanulo]';


GO
PRINT N'Refreshing [dbo].[sp_GetNaplozasMulasztasList]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNaplozasMulasztasList]';


GO
PRINT N'Refreshing [dbo].[sp_OrarendImport]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_OrarendImport]';


GO
PRINT N'Refreshing [dbo].[sp_GetOsztalyCsoportokForFeljegyzesek]...';


GO
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyCsoportokForFeljegyzesek]';


GO
PRINT N'Checking existing data against newly created constraints';


GO
ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH CHECK CHECK CONSTRAINT [FK_4027915_4027916];

ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH CHECK CHECK CONSTRAINT [FK_4027915_4027917];

ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH CHECK CHECK CONSTRAINT [FK_4027915_4028466];

ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH CHECK CHECK CONSTRAINT [FK_4027923_4027921];

ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH CHECK CHECK CONSTRAINT [FK_402791502_402791500];

ALTER TABLE [dbo].[T_ERTEKELESMONDATBANK] WITH CHECK CHECK CONSTRAINT [FK_402791505_402791503];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_4025130_4025128];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_4025281_4025280];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_402509802_402509800];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_402509805_402509803];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_4025098_4025109];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_4025098_4025119];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_4025098_4025247];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_4025098_4025248];

ALTER TABLE [dbo].[T_ESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_4025098_4025249];

ALTER TABLE [dbo].[T_DIGESTMESSAGEQUEUE] WITH CHECK CHECK CONSTRAINT [FK_3911977_3911975];

ALTER TABLE [dbo].[T_HIBAJEGY] WITH CHECK CHECK CONSTRAINT [FK_4026978_4026976];

ALTER TABLE [dbo].[T_USERPROFILE] WITH CHECK CHECK CONSTRAINT [FK_2030097_2030096];

ALTER TABLE [dbo].[T_FALIUJSAGBEJEGYZES] WITH CHECK CHECK CONSTRAINT [FK_4026303_4026302];

ALTER TABLE [dbo].[T_HELYETTESITESIIDOSZAK] WITH CHECK CHECK CONSTRAINT [FK_4026691_4026690];

ALTER TABLE [dbo].[T_TANITASIORA] WITH CHECK CHECK CONSTRAINT [FK_4026315_4026314];

ALTER TABLE [dbo].[T_HAZIFELADATOK] WITH CHECK CHECK CONSTRAINT [FK_4028123_4028121];

ALTER TABLE [dbo].[T_HAZIFELADATOK] WITH CHECK CHECK CONSTRAINT [FK_4028276_4028274];

ALTER TABLE [dbo].[T_IMPOSITION] WITH CHECK CHECK CONSTRAINT [FK_4026153_4026152];

ALTER TABLE [dbo].[T_IMPOSITION] WITH CHECK CHECK CONSTRAINT [FK_4026156_4026155];

ALTER TABLE [dbo].[T_VEGZETTSEG] WITH CHECK CHECK CONSTRAINT [FK_4028293_4028291];

ALTER TABLE [dbo].[T_PEDAGOGUSELETPALYAMODELL] WITH CHECK CHECK CONSTRAINT [FK_4025810_4025808];

ALTER TABLE [dbo].[T_TANULOHAZIFELADAT] WITH CHECK CHECK CONSTRAINT [FK_4028282_4028280];

ALTER TABLE [dbo].[T_ELEARNING] WITH CHECK CHECK CONSTRAINT [FK_4028107_4028105];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPESTORTENET] WITH CHECK CHECK CONSTRAINT [FK_3195831_3195830];

ALTER TABLE [dbo].[T_FELHASZNALOERTESITESBEALLITA] WITH CHECK CHECK CONSTRAINT [FK_4025971_4025969];

ALTER TABLE [dbo].[T_JOGOSULTFELHASZNALOK_HOZZARE] WITH CHECK CHECK CONSTRAINT [FK_4026225_4026224];

ALTER TABLE [dbo].[T_UZENETCIMZETT] WITH CHECK CHECK CONSTRAINT [FK_4028268_4028266];

ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] WITH CHECK CHECK CONSTRAINT [FK_4026228_4026227];

ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] WITH CHECK CHECK CONSTRAINT [FK_4026231_4026230];

ALTER TABLE [dbo].[T_JOGOSULTSAG_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_4026195_4026193];

ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUM] WITH CHECK CHECK CONSTRAINT [FK_4028589_4028587];

ALTER TABLE [dbo].[T_SMS] WITH CHECK CHECK CONSTRAINT [FK_1361988_1361986];

ALTER TABLE [dbo].[T_CSATOLTFELHASZNALOK_CSATOLTJ] WITH CHECK CHECK CONSTRAINT [FK_4025919_4025918];

ALTER TABLE [dbo].[T_RESZTVEVOK_TEVEKENYSEGEK] WITH CHECK CHECK CONSTRAINT [FK_4025859_4025858];

ALTER TABLE [dbo].[T_UZENET] WITH CHECK CHECK CONSTRAINT [FK_4028264_4028263];

ALTER TABLE [dbo].[T_CIMZETT_FALIUJSAGBEJEGYZES] WITH CHECK CHECK CONSTRAINT [FK_4025832_4025831];

ALTER TABLE [dbo].[T_TANULOKOZOSSEGISZOLGALAT] WITH CHECK CHECK CONSTRAINT [FK_4026300_4026299];

ALTER TABLE [dbo].[T_NAPLOELLENORZES] WITH CHECK CHECK CONSTRAINT [FK_4026306_4026305];

ALTER TABLE [dbo].[T_CIM] WITH CHECK CHECK CONSTRAINT [FK_4025168_4025166];

ALTER TABLE [dbo].[T_NEMKOTOTTMUNKAIDO] WITH CHECK CHECK CONSTRAINT [FK_4026688_4026687];

ALTER TABLE [dbo].[T_ORARENDIORA] WITH CHECK CHECK CONSTRAINT [FK_4026329_4026328];

ALTER TABLE [dbo].[T_FELHASZNALO_SZEREPKOR] WITH CHECK CHECK CONSTRAINT [FK_4025054_4025053];

ALTER TABLE [dbo].[T_TRANSACTION] WITH CHECK CHECK CONSTRAINT [FK_4026159_4026158];

ALTER TABLE [dbo].[T_USERNOTIFICATION] WITH CHECK CHECK CONSTRAINT [FK_4025012_4025010];

ALTER TABLE [dbo].[T_TANULO] WITH CHECK CHECK CONSTRAINT [FK_T_8935_4025190];

ALTER TABLE [dbo].[T_JELSZOMODOSITASLINK] WITH CHECK CHECK CONSTRAINT [FK_4028520_4028518];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH CHECK CHECK CONSTRAINT [FK_4025031_4025029];

ALTER TABLE [dbo].[T_ONLINEUSER] WITH CHECK CHECK CONSTRAINT [FK_2656867_2656865];

ALTER TABLE [dbo].[T_EMAIL] WITH CHECK CHECK CONSTRAINT [FK_4025239_4025237];

ALTER TABLE [dbo].[T_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_8935_9951];

ALTER TABLE [dbo].[T_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_8935_32780];

ALTER TABLE [dbo].[T_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_8935_41892];

ALTER TABLE [dbo].[T_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_8935_4025149];

ALTER TABLE [dbo].[T_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_8935_4025151];

ALTER TABLE [dbo].[T_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_8935_4026210];

ALTER TABLE [dbo].[T_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_893502_893500];

ALTER TABLE [dbo].[T_FELHASZNALO] WITH CHECK CHECK CONSTRAINT [FK_893505_893503];

ALTER TABLE [dbo].[T_CIMTARCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025472_4025470];

ALTER TABLE [dbo].[T_CIMTAR] WITH CHECK CHECK CONSTRAINT [FK_4025469_4025467];

ALTER TABLE [dbo].[T_PERSONMESSAGE] WITH CHECK CHECK CONSTRAINT [FK_32236_32229];

ALTER TABLE [dbo].[T_ALKALMAZOTT] WITH CHECK CHECK CONSTRAINT [FK_T_8935_4025165];

ALTER TABLE [dbo].[T_KIRKONTENER] WITH CHECK CHECK CONSTRAINT [FK_4028341_4028340];

ALTER TABLE [dbo].[T_EMAILADATOK] WITH CHECK CHECK CONSTRAINT [FK_3940536_3940534];

ALTER TABLE [dbo].[T_EMAILADATOK] WITH CHECK CHECK CONSTRAINT [FK_3940546_3940544];

ALTER TABLE [dbo].[T_MESSAGE] WITH CHECK CHECK CONSTRAINT [FK_32284_32262];

ALTER TABLE [dbo].[T_OLDALLATOGATOTTSAG] WITH CHECK CHECK CONSTRAINT [FK_4026050_4026049];

ALTER TABLE [dbo].[T_TELEFON] WITH CHECK CHECK CONSTRAINT [FK_4025236_4025234];

ALTER TABLE [dbo].[T_FELHASZNALOERTESITES] WITH CHECK CHECK CONSTRAINT [FK_4025881_4025879];

ALTER TABLE [dbo].[T_JELSZOVISSZAALLITAS] WITH CHECK CHECK CONSTRAINT [FK_4028152_4028151];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH CHECK CHECK CONSTRAINT [FK_4025187_4025186];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH CHECK CHECK CONSTRAINT [FK_402502202_402502200];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH CHECK CHECK CONSTRAINT [FK_402502205_402502203];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026116_4026121];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026116_4026122];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026116_4026343];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026116_4026352];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026116_4026365];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026116_4027631];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026116_4027635];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026125_4026124];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026129_4026127];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_402611602_402611600];

ALTER TABLE [dbo].[T_MUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_402611605_402611603];

ALTER TABLE [dbo].[T_EVFOLYAMTIPUS_OKTATASINEVELE] WITH CHECK CHECK CONSTRAINT [FK_4026014_4026012];

ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] WITH CHECK CHECK CONSTRAINT [FK_T_21038_4025391];

ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] WITH CHECK CHECK CONSTRAINT [FK_402537602_402537600];

ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] WITH CHECK CHECK CONSTRAINT [FK_402537605_402537603];

ALTER TABLE [dbo].[T_FELADATELLATASIHELY] WITH CHECK CHECK CONSTRAINT [FK_4026010_4026011];

ALTER TABLE [dbo].[T_OKTATASINEVELESIFELADAT] WITH CHECK CHECK CONSTRAINT [FK_4025376_4028592];

ALTER TABLE [dbo].[T_HITTANADATSZOLGALTATAS] WITH CHECK CHECK CONSTRAINT [FK_4028139_4028138];

ALTER TABLE [dbo].[T_TANULOERTEKELES] WITH CHECK CHECK CONSTRAINT [FK_4025668_4025666];

ALTER TABLE [dbo].[T_TANULOERTEKELES] WITH CHECK CHECK CONSTRAINT [FK_4028462_4028461];

ALTER TABLE [dbo].[T_TANITASIORA] WITH CHECK CHECK CONSTRAINT [FK_4025638_4025637];

ALTER TABLE [dbo].[T_HAZIFELADATOK] WITH CHECK CHECK CONSTRAINT [FK_4028126_4028124];

ALTER TABLE [dbo].[T_FOGLALKOZAS] WITH CHECK CHECK CONSTRAINT [FK_4025431_4025429];

ALTER TABLE [dbo].[T_CSOPORT] WITH CHECK CHECK CONSTRAINT [FK_T_4025296_4025339];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT_TANULOESEMENY] WITH CHECK CHECK CONSTRAINT [FK_4027556_4027555];

ALTER TABLE [dbo].[T_OGOSZTALYCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4027789_4027787];

ALTER TABLE [dbo].[T_TANMENET] WITH CHECK CHECK CONSTRAINT [FK_4025599_4025598];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT_FALIUJSAGBEJE] WITH CHECK CHECK CONSTRAINT [FK_4025829_4025828];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT_TANEVRENDJE] WITH CHECK CHECK CONSTRAINT [FK_4025514_4025513];

ALTER TABLE [dbo].[T_ORARENDIORA] WITH CHECK CHECK CONSTRAINT [FK_4026324_4026322];

ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025526_4025525];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025296_4025418];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025954_4025953];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4026025_4026024];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_402529602_402529600];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_402529605_402529603];

ALTER TABLE [dbo].[T_OSZTALY] WITH CHECK CHECK CONSTRAINT [FK_T_4025296_4025338];

ALTER TABLE [dbo].[T_OSZTALYCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025296_4028599];

ALTER TABLE [dbo].[T_RESZSZAKKEPESITESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402755005_402755003];

ALTER TABLE [dbo].[T_KIRKONTENERELEM] WITH CHECK CHECK CONSTRAINT [FK_402831405_402831403];

ALTER TABLE [dbo].[T_EPENZTARCAPARAMETEREK] WITH CHECK CHECK CONSTRAINT [FK_402717105_402717103];

ALTER TABLE [dbo].[T_APPOINTMENT] WITH CHECK CHECK CONSTRAINT [FK_218658805_218658803];

ALTER TABLE [dbo].[T_ERTEKELESMOD] WITH CHECK CHECK CONSTRAINT [FK_402565305_402565303];

ALTER TABLE [dbo].[T_PAYMENTTITLE] WITH CHECK CHECK CONSTRAINT [FK_821405_821403];

ALTER TABLE [dbo].[T_ANYANYELV] WITH CHECK CHECK CONSTRAINT [FK_402513805_402513803];

ALTER TABLE [dbo].[T_PEDAGOGUSSTATUSZ] WITH CHECK CHECK CONSTRAINT [FK_402634205_402634203];

ALTER TABLE [dbo].[T_KKNEPZENE] WITH CHECK CHECK CONSTRAINT [FK_402841605_402841603];

ALTER TABLE [dbo].[T_EMAILHIBALOG] WITH CHECK CHECK CONSTRAINT [FK_394046505_394046503];

ALTER TABLE [dbo].[T_SCCARD] WITH CHECK CHECK CONSTRAINT [FK_99078705_99078703];

ALTER TABLE [dbo].[T_ERTESITESSZINTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402586205_402586203];

ALTER TABLE [dbo].[T_OGINTEZMENYFOGLALTSAG] WITH CHECK CHECK CONSTRAINT [FK_402776105_402776103];

ALTER TABLE [dbo].[T_KIZAROCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_402600505_402600503];

ALTER TABLE [dbo].[T_FORMTYPE] WITH CHECK CHECK CONSTRAINT [FK_1546805_1546803];

ALTER TABLE [dbo].[T_HETIRENDTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402544005_402544003];

ALTER TABLE [dbo].[T_AGAZATTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402754905_402754903];

ALTER TABLE [dbo].[T_KIRSZOLGALTATASTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402831205_402831203];

ALTER TABLE [dbo].[T_BANK] WITH CHECK CHECK CONSTRAINT [FK_212192505_212192503];

ALTER TABLE [dbo].[T_OSZTALYZATTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402565205_402565203];

ALTER TABLE [dbo].[T_IGAZOLVANYTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402513405_402513403];

ALTER TABLE [dbo].[T_JELSZOVISSZAALLITAS] WITH CHECK CHECK CONSTRAINT [FK_402814805_402814803];

ALTER TABLE [dbo].[T_KRETATIPUS] WITH CHECK CHECK CONSTRAINT [FK_402633905_402633903];

ALTER TABLE [dbo].[T_KKELEKTROAKUZENE] WITH CHECK CHECK CONSTRAINT [FK_402841405_402841403];

ALTER TABLE [dbo].[T_DIGESTMESSAGEQUEUE] WITH CHECK CHECK CONSTRAINT [FK_391192005_391192003];

ALTER TABLE [dbo].[T_ERRORSTATUS] WITH CHECK CHECK CONSTRAINT [FK_53988005_53988003];

ALTER TABLE [dbo].[T_TEVEKENYSEG] WITH CHECK CHECK CONSTRAINT [FK_402583905_402583903];

ALTER TABLE [dbo].[T_RENDSZERBEALLITASTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402600405_402600403];

ALTER TABLE [dbo].[T_HIBAJEGY] WITH CHECK CHECK CONSTRAINT [FK_402695805_402695803];

ALTER TABLE [dbo].[T_OGGENERATORALAP] WITH CHECK CHECK CONSTRAINT [FK_402775105_402775103];

ALTER TABLE [dbo].[T_NAPTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402543905_402543903];

ALTER TABLE [dbo].[T_SZAKMACSOPORTTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402754805_402754803];

ALTER TABLE [dbo].[T_SZAKTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402830805_402830803];

ALTER TABLE [dbo].[T_ERTEKELESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402565105_402565103];

ALTER TABLE [dbo].[T_MUNKAVISZONYTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402513305_402513303];

ALTER TABLE [dbo].[T_USERPROFILE] WITH CHECK CHECK CONSTRAINT [FK_203009405_203009403];

ALTER TABLE [dbo].[T_FORMS] WITH CHECK CHECK CONSTRAINT [FK_1540405_1540403];

ALTER TABLE [dbo].[T_HITTANADATSZOLGALTATAS] WITH CHECK CHECK CONSTRAINT [FK_402813505_402813503];

ALTER TABLE [dbo].[T_KKTERULET] WITH CHECK CHECK CONSTRAINT [FK_402841205_402841203];

ALTER TABLE [dbo].[T_SCCARDBEVONASOKA] WITH CHECK CHECK CONSTRAINT [FK_383219005_383219003];

ALTER TABLE [dbo].[T_TANTERVIJELLEG] WITH CHECK CHECK CONSTRAINT [FK_402529305_402529303];

ALTER TABLE [dbo].[T_FEETYPE] WITH CHECK CHECK CONSTRAINT [FK_28379705_28379703];

ALTER TABLE [dbo].[T_TEVEKENYSEGTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402583805_402583803];

ALTER TABLE [dbo].[T_ORATERVTARGY] WITH CHECK CHECK CONSTRAINT [FK_402600205_402600203];

ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILELINE] WITH CHECK CHECK CONSTRAINT [FK_813305_813303];

ALTER TABLE [dbo].[T_SZAKKEPESITESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402753905_402753903];

ALTER TABLE [dbo].[T_OGOSZTALYCSOPORTFOGLALTSAG] WITH CHECK CHECK CONSTRAINT [FK_402774605_402774603];

ALTER TABLE [dbo].[T_GIMNAZIUMIEVFOLYAMTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402830505_402830503];

ALTER TABLE [dbo].[T_TANULOERTEKELES] WITH CHECK CHECK CONSTRAINT [FK_402564105_402564103];

ALTER TABLE [dbo].[T_TEREM] WITH CHECK CHECK CONSTRAINT [FK_402512205_402512203];

ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYSTATUSZ] WITH CHECK CHECK CONSTRAINT [FK_202649705_202649703];

ALTER TABLE [dbo].[T_NAPTARIHET] WITH CHECK CHECK CONSTRAINT [FK_402629405_402629403];

ALTER TABLE [dbo].[T_HIBAJEGYSTATUSZ] WITH CHECK CHECK CONSTRAINT [FK_402695305_402695303];

ALTER TABLE [dbo].[T_KKTANARVEGZETTSEG] WITH CHECK CHECK CONSTRAINT [FK_402840905_402840903];

ALTER TABLE [dbo].[T_MEGYE] WITH CHECK CHECK CONSTRAINT [FK_371584605_371584603];

ALTER TABLE [dbo].[T_HITTANTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402813305_402813303];

ALTER TABLE [dbo].[T_TESTNEVELESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402527905_402527903];

ALTER TABLE [dbo].[T_PAYMENTTITLETYPE] WITH CHECK CHECK CONSTRAINT [FK_22824705_22824703];

ALTER TABLE [dbo].[T_FALIUJSAGBEJEGYZES] WITH CHECK CHECK CONSTRAINT [FK_402581505_402581503];

ALTER TABLE [dbo].[T_RENDSZERBEALLITAS] WITH CHECK CHECK CONSTRAINT [FK_402599705_402599703];

ALTER TABLE [dbo].[T_IMPOSITIONSHAREDRULES] WITH CHECK CHECK CONSTRAINT [FK_1429805_1429803];

ALTER TABLE [dbo].[T_FOGLALKOZASTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402542505_402542503];

ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILE] WITH CHECK CHECK CONSTRAINT [FK_813005_813003];

ALTER TABLE [dbo].[T_MUKODESIHELYTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402750405_402750403];

ALTER TABLE [dbo].[T_KEPESITES] WITH CHECK CHECK CONSTRAINT [FK_402829405_402829403];

ALTER TABLE [dbo].[T_OGFOGLALTSAGTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402774505_402774503];

ALTER TABLE [dbo].[T_SCSTICKERSTATUS] WITH CHECK CHECK CONSTRAINT [FK_202649405_202649403];

ALTER TABLE [dbo].[T_HELYETTESITESIIDOSZAK] WITH CHECK CHECK CONSTRAINT [FK_402628605_402628603];

ALTER TABLE [dbo].[T_PRIORITAS] WITH CHECK CHECK CONSTRAINT [FK_402695205_402695203];

ALTER TABLE [dbo].[T_KKTANITOVEZGETTSEG] WITH CHECK CHECK CONSTRAINT [FK_402840705_402840703];

ALTER TABLE [dbo].[T_TANITASIORA] WITH CHECK CHECK CONSTRAINT [FK_402557505_402557503];

ALTER TABLE [dbo].[T_SYSTEMPARAMETERVALUE] WITH CHECK CHECK CONSTRAINT [FK_355895805_355895803];

ALTER TABLE [dbo].[T_HAZIFELADATOK] WITH CHECK CHECK CONSTRAINT [FK_402811205_402811203];

ALTER TABLE [dbo].[T_ESZKOZJELLEG] WITH CHECK CHECK CONSTRAINT [FK_402527805_402527803];

ALTER TABLE [dbo].[T_EMAILTIPUS] WITH CHECK CHECK CONSTRAINT [FK_4247205_4247203];

ALTER TABLE [dbo].[T_FALIUJSAGLATOGATTOTSAG] WITH CHECK CHECK CONSTRAINT [FK_402581305_402581303];

ALTER TABLE [dbo].[T_ORATERV] WITH CHECK CHECK CONSTRAINT [FK_402599405_402599403];

ALTER TABLE [dbo].[T_FOGLALKOZAS] WITH CHECK CHECK CONSTRAINT [FK_402542205_402542203];

ALTER TABLE [dbo].[T_IMPOSITION] WITH CHECK CHECK CONSTRAINT [FK_810805_810803];

ALTER TABLE [dbo].[T_ESZKOZTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402512105_402512103];

ALTER TABLE [dbo].[T_IKTESZKOZHASZNALATMOD] WITH CHECK CHECK CONSTRAINT [FK_402742905_402742903];

ALTER TABLE [dbo].[T_IMPOSITIONGROUP] WITH CHECK CHECK CONSTRAINT [FK_1404405_1404403];

ALTER TABLE [dbo].[T_VEGZETTSEG] WITH CHECK CHECK CONSTRAINT [FK_402828705_402828703];

ALTER TABLE [dbo].[T_OGFOGLALKOZAS] WITH CHECK CHECK CONSTRAINT [FK_402774105_402774103];

ALTER TABLE [dbo].[T_MUNKAVISZONYJELLEGE] WITH CHECK CHECK CONSTRAINT [FK_193161505_193161503];

ALTER TABLE [dbo].[T_FORRAS] WITH CHECK CHECK CONSTRAINT [FK_402695105_402695103];

ALTER TABLE [dbo].[T_KKVEGZETTSEGTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402839405_402839403];

ALTER TABLE [dbo].[T_EMAILUZENET] WITH CHECK CHECK CONSTRAINT [FK_331018805_331018803];

ALTER TABLE [dbo].[T_VEGZETTSEGTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402810805_402810803];

ALTER TABLE [dbo].[T_CSOPORT] WITH CHECK CHECK CONSTRAINT [FK_402527705_402527703];

ALTER TABLE [dbo].[T_TELEFONTIPUS] WITH CHECK CHECK CONSTRAINT [FK_4165705_4165703];

ALTER TABLE [dbo].[T_DOKUMENTUM] WITH CHECK CHECK CONSTRAINT [FK_402857905_402857903];

ALTER TABLE [dbo].[T_PEDAGOGUSELETPALYAMODELL] WITH CHECK CHECK CONSTRAINT [FK_402580105_402580103];

ALTER TABLE [dbo].[T_KIZAROCSOPORTTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402599105_402599103];

ALTER TABLE [dbo].[T_ESZKOZKATEGORIA] WITH CHECK CHECK CONSTRAINT [FK_402512005_402512003];

ALTER TABLE [dbo].[T_ELSODLEGESIKTESZKOZ] WITH CHECK CHECK CONSTRAINT [FK_402742805_402742803];

ALTER TABLE [dbo].[T_TANULOHAZIFELADAT] WITH CHECK CHECK CONSTRAINT [FK_402827105_402827103];

ALTER TABLE [dbo].[T_OGTANTARGYFOGLALTSAG] WITH CHECK CHECK CONSTRAINT [FK_402773605_402773603];

ALTER TABLE [dbo].[T_KULFOLDISTATUSZTIPUS] WITH CHECK CHECK CONSTRAINT [FK_176808005_176808003];

ALTER TABLE [dbo].[T_SZERZODOSZEMELYPOZICIO] WITH CHECK CHECK CONSTRAINT [FK_402670905_402670903];

ALTER TABLE [dbo].[T_KKAMINEPZENETIPUS] WITH CHECK CHECK CONSTRAINT [FK_402839305_402839303];

ALTER TABLE [dbo].[T_FINANCIALCODE] WITH CHECK CHECK CONSTRAINT [FK_1331005_1331003];

ALTER TABLE [dbo].[T_ELEARNING] WITH CHECK CHECK CONSTRAINT [FK_402809805_402809803];

ALTER TABLE [dbo].[T_ESZKOZCEL] WITH CHECK CHECK CONSTRAINT [FK_402527605_402527603];

ALTER TABLE [dbo].[T_PAYINGTYPE] WITH CHECK CHECK CONSTRAINT [FK_3874305_3874303];

ALTER TABLE [dbo].[T_TARGYKATEGORIATIPUS] WITH CHECK CHECK CONSTRAINT [FK_402540605_402540603];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPESTORTENET] WITH CHECK CHECK CONSTRAINT [FK_319582805_319582803];

ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZOERTEK] WITH CHECK CHECK CONSTRAINT [FK_402855705_402855703];

ALTER TABLE [dbo].[T_ELETPALYAMODELLFOKOZATTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402580005_402580003];

ALTER TABLE [dbo].[T_FELHASZNALOERTESITESBEALLITA] WITH CHECK CHECK CONSTRAINT [FK_402596205_402596203];

ALTER TABLE [dbo].[T_PEDAGOGUSIKTADATSZOLGALTATAS] WITH CHECK CHECK CONSTRAINT [FK_402742405_402742403];

ALTER TABLE [dbo].[T_UZENETCIMZETT] WITH CHECK CHECK CONSTRAINT [FK_402825705_402825703];

ALTER TABLE [dbo].[T_VPOSCONFIG] WITH CHECK CHECK CONSTRAINT [FK_163886705_163886703];

ALTER TABLE [dbo].[T_OGFOGLALKOZAS_TEREM] WITH CHECK CHECK CONSTRAINT [FK_402773405_402773403];

ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUMOK] WITH CHECK CHECK CONSTRAINT [FK_402621205_402621203];

ALTER TABLE [dbo].[T_ENAPLOTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402670805_402670803];

ALTER TABLE [dbo].[T_KKAMIELEKTROAKUTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402839205_402839203];

ALTER TABLE [dbo].[T_MERTEKEGYSEGTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402524605_402524603];

ALTER TABLE [dbo].[T_ALLAMPOLGARSAG] WITH CHECK CHECK CONSTRAINT [FK_3872705_3872703];

ALTER TABLE [dbo].[T_EVFOLYAMTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402540505_402540503];

ALTER TABLE [dbo].[T_IKTATOTTDOKUMENTUM] WITH CHECK CHECK CONSTRAINT [FK_402854405_402854403];

ALTER TABLE [dbo].[T_ELETPALYAMODELLSTATUSZOK] WITH CHECK CHECK CONSTRAINT [FK_402579905_402579903];

ALTER TABLE [dbo].[T_TANARIATLAGSULY] WITH CHECK CHECK CONSTRAINT [FK_402595705_402595703];

ALTER TABLE [dbo].[T_FEE] WITH CHECK CHECK CONSTRAINT [FK_1324505_1324503];

ALTER TABLE [dbo].[T_HONAPOK] WITH CHECK CHECK CONSTRAINT [FK_304453105_304453103];

ALTER TABLE [dbo].[T_WIFIELERES] WITH CHECK CHECK CONSTRAINT [FK_402742305_402742303];

ALTER TABLE [dbo].[T_DICTIONARYTYPE] WITH CHECK CHECK CONSTRAINT [FK_402808305_402808303];

ALTER TABLE [dbo].[T_HELYETTESITESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402557405_402557403];

ALTER TABLE [dbo].[T_INGYENESTANKONYVELLATAS] WITH CHECK CHECK CONSTRAINT [FK_402509605_402509603];

ALTER TABLE [dbo].[T_SMS] WITH CHECK CHECK CONSTRAINT [FK_136198505_136198503];

ALTER TABLE [dbo].[T_JOGOSULTSAG] WITH CHECK CHECK CONSTRAINT [FK_402619105_402619103];

ALTER TABLE [dbo].[T_ENAPLOFORRAS] WITH CHECK CHECK CONSTRAINT [FK_402670705_402670703];

ALTER TABLE [dbo].[T_KKAMIVEGZETTSEGTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402839105_402839103];

ALTER TABLE [dbo].[T_OGOSZTALYCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_402773005_402773003];

ALTER TABLE [dbo].[T_INTEZMENYADATOK] WITH CHECK CHECK CONSTRAINT [FK_4026244_4026243];

ALTER TABLE [dbo].[T_STUDENTCARDSTATUS] WITH CHECK CHECK CONSTRAINT [FK_3867705_3867703];

ALTER TABLE [dbo].[T_UZENETJOGKORTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402825605_402825603];

ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZO] WITH CHECK CHECK CONSTRAINT [FK_402854205_402854203];

ALTER TABLE [dbo].[T_ESEMENYZARADEKTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402579705_402579703];

ALTER TABLE [dbo].[T_TANARITANTARGY] WITH CHECK CHECK CONSTRAINT [FK_402594005_402594003];

ALTER TABLE [dbo].[T_PAYMENTTITLE_ROLES] WITH CHECK CHECK CONSTRAINT [FK_289347005_289347003];

ALTER TABLE [dbo].[T_IKTKOMPETENCIASZINT] WITH CHECK CHECK CONSTRAINT [FK_402742205_402742203];

ALTER TABLE [dbo].[T_SZEREPKOR] WITH CHECK CHECK CONSTRAINT [FK_1309205_1309203];

ALTER TABLE [dbo].[T_TANTARGY] WITH CHECK CHECK CONSTRAINT [FK_402539905_402539903];

ALTER TABLE [dbo].[T_NAPTARINAP] WITH CHECK CHECK CONSTRAINT [FK_402556205_402556203];

ALTER TABLE [dbo].[T_TEREMTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402509305_402509303];

ALTER TABLE [dbo].[T_TANULOERTEKELESLATTAMOZAS] WITH CHECK CHECK CONSTRAINT [FK_402805005_402805003];

ALTER TABLE [dbo].[T_SZEREPKORTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402618905_402618903];

ALTER TABLE [dbo].[T_ADATSZOLGALTATASENAPLO] WITH CHECK CHECK CONSTRAINT [FK_402669405_402669403];

ALTER TABLE [dbo].[T_SMSMESSAGESTATUS] WITH CHECK CHECK CONSTRAINT [FK_136178505_136178503];

ALTER TABLE [dbo].[T_KKAMITERULETTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402839005_402839003];

ALTER TABLE [dbo].[T_FENNTARTOTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402519805_402519803];

ALTER TABLE [dbo].[T_NATIONALITY] WITH CHECK CHECK CONSTRAINT [FK_3863705_3863703];

ALTER TABLE [dbo].[T_UZENET] WITH CHECK CHECK CONSTRAINT [FK_402824805_402824803];

ALTER TABLE [dbo].[T_DOKUMENTUMTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402854105_402854103];

ALTER TABLE [dbo].[T_TANULOMENTESSEG] WITH CHECK CHECK CONSTRAINT [FK_402576905_402576903];

ALTER TABLE [dbo].[T_ERTESITESGENERALASTORTENET] WITH CHECK CHECK CONSTRAINT [FK_402592805_402592803];

ALTER TABLE [dbo].[T_OGTEREM_TANTARGY] WITH CHECK CHECK CONSTRAINT [FK_402772905_402772903];

ALTER TABLE [dbo].[T_ENAPLOHASZNALAT] WITH CHECK CHECK CONSTRAINT [FK_402742005_402742003];

ALTER TABLE [dbo].[T_STUDENTCARDTYPE] WITH CHECK CHECK CONSTRAINT [FK_1167105_1167103];

ALTER TABLE [dbo].[T_MAGANTANULOSAGOKA] WITH CHECK CHECK CONSTRAINT [FK_402509205_402509203];

ALTER TABLE [dbo].[T_TANULOESEMENYLATTAMOZAS] WITH CHECK CHECK CONSTRAINT [FK_402804805_402804803];

ALTER TABLE [dbo].[T_TANULOKOZOSSEGISZOLGALAT] WITH CHECK CHECK CONSTRAINT [FK_402617205_402617203];

ALTER TABLE [dbo].[T_ENAPLOINFRA] WITH CHECK CHECK CONSTRAINT [FK_402669305_402669303];

ALTER TABLE [dbo].[T_TRANSACTIONANALYSISFILESTATU] WITH CHECK CHECK CONSTRAINT [FK_131202405_131202403];

ALTER TABLE [dbo].[T_KKAMIJAZZZENETIPUS] WITH CHECK CHECK CONSTRAINT [FK_402838905_402838903];

ALTER TABLE [dbo].[T_TANMENET] WITH CHECK CHECK CONSTRAINT [FK_402555605_402555603];

ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYHIBASTATU] WITH CHECK CHECK CONSTRAINT [FK_284754505_284754503];

ALTER TABLE [dbo].[T_CSOPORTTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402519105_402519103];

ALTER TABLE [dbo].[T_MARITALSTATUS] WITH CHECK CHECK CONSTRAINT [FK_3841605_3841603];

ALTER TABLE [dbo].[T_DOKUMENTUMSTATUSZ] WITH CHECK CHECK CONSTRAINT [FK_402854005_402854003];

ALTER TABLE [dbo].[T_NAPLOELLENORZES] WITH CHECK CHECK CONSTRAINT [FK_402575205_402575203];

ALTER TABLE [dbo].[T_MESSAGESTATUS] WITH CHECK CHECK CONSTRAINT [FK_402592605_402592603];

ALTER TABLE [dbo].[T_UZENETJOGOK] WITH CHECK CHECK CONSTRAINT [FK_402824405_402824403];

ALTER TABLE [dbo].[T_OGTANARFOGLALTSAG] WITH CHECK CHECK CONSTRAINT [FK_402772405_402772403];

ALTER TABLE [dbo].[T_TANTERV] WITH CHECK CHECK CONSTRAINT [FK_402539205_402539203];

ALTER TABLE [dbo].[T_TAGOZATTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402739605_402739603];

ALTER TABLE [dbo].[T_CIM] WITH CHECK CHECK CONSTRAINT [FK_1109405_1109403];

ALTER TABLE [dbo].[T_TANULOMULASZTASLATTAMOZAS] WITH CHECK CHECK CONSTRAINT [FK_402804605_402804603];

ALTER TABLE [dbo].[T_PARTFILLSTATUS] WITH CHECK CHECK CONSTRAINT [FK_402616205_402616203];

ALTER TABLE [dbo].[T_NEMKOTOTTMUNKAIDO] WITH CHECK CHECK CONSTRAINT [FK_402667705_402667703];

ALTER TABLE [dbo].[T_ORSZAGTIPUS] WITH CHECK CHECK CONSTRAINT [FK_129125805_129125803];

ALTER TABLE [dbo].[T_KKTANITOMUVTERTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402838805_402838803];

ALTER TABLE [dbo].[T_ORARENDIORA] WITH CHECK CHECK CONSTRAINT [FK_402553005_402553003];

ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYTIPUS] WITH CHECK CHECK CONSTRAINT [FK_284654605_284654603];

ALTER TABLE [dbo].[T_IMPOSITIONSTATUS] WITH CHECK CHECK CONSTRAINT [FK_3840805_3840803];

ALTER TABLE [dbo].[T_DOKUMENTUMKULCSSZOTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402853805_402853803];

ALTER TABLE [dbo].[T_IGAZOLAS] WITH CHECK CHECK CONSTRAINT [FK_402574605_402574603];

ALTER TABLE [dbo].[T_ROKONSAGIFOK] WITH CHECK CHECK CONSTRAINT [FK_402517905_402517903];

ALTER TABLE [dbo].[T_ERETTSEGIVALASZ] WITH CHECK CHECK CONSTRAINT [FK_402823405_402823403];

ALTER TABLE [dbo].[T_NEBULO] WITH CHECK CHECK CONSTRAINT [FK_402736305_402736303];

ALTER TABLE [dbo].[T_MUKODESIHELYADATSZOLGALTATAS] WITH CHECK CHECK CONSTRAINT [FK_402771505_402771503];

ALTER TABLE [dbo].[T_ENTITYATTRIBUTEHISTORY] WITH CHECK CHECK CONSTRAINT [FK_402508005_402508003];

ALTER TABLE [dbo].[T_TRANSACTION] WITH CHECK CHECK CONSTRAINT [FK_1073505_1073503];

ALTER TABLE [dbo].[T_ORARENDIORATULAJDONSAG] WITH CHECK CHECK CONSTRAINT [FK_402799805_402799803];

ALTER TABLE [dbo].[T_RENDSZERERTESITESEK] WITH CHECK CHECK CONSTRAINT [FK_402613705_402613703];

ALTER TABLE [dbo].[T_ESLADAT] WITH CHECK CHECK CONSTRAINT [FK_402666905_402666903];

ALTER TABLE [dbo].[T_USERNOTIFICATION] WITH CHECK CHECK CONSTRAINT [FK_125783105_125783103];

ALTER TABLE [dbo].[T_KKAMIKLASSZIKUSTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402838705_402838703];

ALTER TABLE [dbo].[T_IMPOSITIONIMPOSITIONGROUP] WITH CHECK CHECK CONSTRAINT [FK_276170205_276170203];

ALTER TABLE [dbo].[T_LANGUAGE] WITH CHECK CHECK CONSTRAINT [FK_3839205_3839203];

ALTER TABLE [dbo].[T_DOKUMENTUMKATEGORIA] WITH CHECK CHECK CONSTRAINT [FK_402853705_402853703];

ALTER TABLE [dbo].[T_ORALATOGATAS] WITH CHECK CHECK CONSTRAINT [FK_402572805_402572803];

ALTER TABLE [dbo].[T_JOGYAKORLAT] WITH CHECK CHECK CONSTRAINT [FK_402590605_402590603];

ALTER TABLE [dbo].[T_TANULO] WITH CHECK CHECK CONSTRAINT [FK_4026237_4026236];

ALTER TABLE [dbo].[T_TANULO] WITH CHECK CHECK CONSTRAINT [FK_402517805_402517803];

ALTER TABLE [dbo].[T_ERETTSEGIKERDES] WITH CHECK CHECK CONSTRAINT [FK_402821805_402821803];

ALTER TABLE [dbo].[T_INTEZMENYESZKOZADATSZOLGALTA] WITH CHECK CHECK CONSTRAINT [FK_402767505_402767503];

ALTER TABLE [dbo].[T_ERTELMIFOGYATEKOSTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402537205_402537203];

ALTER TABLE [dbo].[T_ENTITYHISTORY] WITH CHECK CHECK CONSTRAINT [FK_402504305_402504303];

ALTER TABLE [dbo].[T_ORATULAJDONSAGTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402797005_402797003];

ALTER TABLE [dbo].[T_TANULOESLADATOK] WITH CHECK CHECK CONSTRAINT [FK_402662605_402662603];

ALTER TABLE [dbo].[T_KKGYOGYPEDTERTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402838605_402838603];

ALTER TABLE [dbo].[T_SYSTEMPARAMETERTYPE] WITH CHECK CHECK CONSTRAINT [FK_274081905_274081903];

ALTER TABLE [dbo].[T_PARTNER] WITH CHECK CHECK CONSTRAINT [FK_1068505_1068503];

ALTER TABLE [dbo].[T_CIMTIPUS] WITH CHECK CHECK CONSTRAINT [FK_3836905_3836903];

ALTER TABLE [dbo].[T_JELSZOMODOSITASLINK] WITH CHECK CHECK CONSTRAINT [FK_402851305_402851303];

ALTER TABLE [dbo].[T_MAGATARTASERTEKELESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402572105_402572103];

ALTER TABLE [dbo].[T_EVENTTYPE] WITH CHECK CHECK CONSTRAINT [FK_402590105_402590103];

ALTER TABLE [dbo].[T_LICENCEFUNKCIOKTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402820405_402820403];

ALTER TABLE [dbo].[T_VEZETOIORASZAMOKTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402763405_402763403];

ALTER TABLE [dbo].[T_HALLASSERULTTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402537105_402537103];

ALTER TABLE [dbo].[T_ESEMENYSTATUSZ] WITH CHECK CHECK CONSTRAINT [FK_125763105_125763103];

ALTER TABLE [dbo].[T_TANITASIORATULAJDONSAG] WITH CHECK CHECK CONSTRAINT [FK_402795405_402795403];

ALTER TABLE [dbo].[T_ESLADATTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402662505_402662503];

ALTER TABLE [dbo].[T_KKKEPESITESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402838505_402838503];

ALTER TABLE [dbo].[T_ONLINEUSER] WITH CHECK CHECK CONSTRAINT [FK_265686405_265686403];

ALTER TABLE [dbo].[T_NEM] WITH CHECK CHECK CONSTRAINT [FK_3833005_3833003];

ALTER TABLE [dbo].[T_SZORGALOMERTEKELESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402571705_402571703];

ALTER TABLE [dbo].[T_DIAKOLIMPIA] WITH CHECK CHECK CONSTRAINT [FK_402849205_402849203];

ALTER TABLE [dbo].[T_LICENCE] WITH CHECK CHECK CONSTRAINT [FK_402820005_402820003];

ALTER TABLE [dbo].[T_FOGLALKOZTATASTIPUSA] WITH CHECK CHECK CONSTRAINT [FK_402762905_402762903];

ALTER TABLE [dbo].[T_ERRORTYPE] WITH CHECK CHECK CONSTRAINT [FK_1047705_1047703];

ALTER TABLE [dbo].[T_LATASSERULTTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402537005_402537003];

ALTER TABLE [dbo].[T_TRANSACTIONSTATUS] WITH CHECK CHECK CONSTRAINT [FK_102945805_102945803];

ALTER TABLE [dbo].[T_FELVETELSTATUSZATIPUS] WITH CHECK CHECK CONSTRAINT [FK_402736205_402736203];

ALTER TABLE [dbo].[T_NATKERDOIV] WITH CHECK CHECK CONSTRAINT [FK_402793505_402793503];

ALTER TABLE [dbo].[T_FOGLALKOZASARCHIV] WITH CHECK CHECK CONSTRAINT [FK_402659305_402659303];

ALTER TABLE [dbo].[T_KKSZAKTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402838405_402838403];

ALTER TABLE [dbo].[T_LOGINLINKS] WITH CHECK CHECK CONSTRAINT [FK_261224905_261224903];

ALTER TABLE [dbo].[T_BANKACCOUNT] WITH CHECK CHECK CONSTRAINT [FK_2552905_2552903];

ALTER TABLE [dbo].[T_TANULOESEMENY] WITH CHECK CHECK CONSTRAINT [FK_402569905_402569903];

ALTER TABLE [dbo].[T_SCHEDULERTRIGGERS] WITH CHECK CHECK CONSTRAINT [FK_402589305_402589303];

ALTER TABLE [dbo].[T_ERTMONDATBANKTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402846405_402846403];

ALTER TABLE [dbo].[T_GONDVISELO] WITH CHECK CHECK CONSTRAINT [FK_402516905_402516903];

ALTER TABLE [dbo].[T_ERETTSEGISZINT] WITH CHECK CHECK CONSTRAINT [FK_402761905_402761903];

ALTER TABLE [dbo].[T_EMAIL] WITH CHECK CHECK CONSTRAINT [FK_987605_987603];

ALTER TABLE [dbo].[T_SYSTEMSETTINGSCONTROLTYPE] WITH CHECK CHECK CONSTRAINT [FK_402610905_402610903];

ALTER TABLE [dbo].[T_PENZNEMTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402818705_402818703];

ALTER TABLE [dbo].[T_ETKEZESIKEDVEZMENYTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402536005_402536003];

ALTER TABLE [dbo].[T_SCSTUDENTTEMPORARYCARD] WITH CHECK CHECK CONSTRAINT [FK_99084705_99084703];

ALTER TABLE [dbo].[T_UPLOADEDFILE] WITH CHECK CHECK CONSTRAINT [FK_402729805_402729803];

ALTER TABLE [dbo].[T_SOROLASOKATIPUS] WITH CHECK CHECK CONSTRAINT [FK_402653905_402653903];

ALTER TABLE [dbo].[T_KKAMIZENEMUVKATTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402838305_402838303];

ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_402551805_402551803];

ALTER TABLE [dbo].[T_LOG] WITH CHECK CHECK CONSTRAINT [FK_402497605_402497603];

ALTER TABLE [dbo].[T_SCHEDULERCONTEXTS] WITH CHECK CHECK CONSTRAINT [FK_402588805_402588803];

ALTER TABLE [dbo].[T_KKTANTARGYKATEGORIA] WITH CHECK CHECK CONSTRAINT [FK_402842805_402842803];

ALTER TABLE [dbo].[T_ESEMENYTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402569805_402569803];

ALTER TABLE [dbo].[T_LOGINNEWS] WITH CHECK CHECK CONSTRAINT [FK_261034805_261034803];

ALTER TABLE [dbo].[T_ERETTSEGITIPUS] WITH CHECK CHECK CONSTRAINT [FK_402761805_402761803];

ALTER TABLE [dbo].[T_SCHEDULERLOG] WITH CHECK CHECK CONSTRAINT [FK_402608805_402608803];

ALTER TABLE [dbo].[T_CREDITCARDPAYMENT] WITH CHECK CHECK CONSTRAINT [FK_2294205_2294203];

ALTER TABLE [dbo].[T_MEROALLAS] WITH CHECK CHECK CONSTRAINT [FK_402818405_402818403];

ALTER TABLE [dbo].[T_HATRANYOSHELYZETTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402535905_402535903];

ALTER TABLE [dbo].[T_SCAPPLICATIONFORMBATCH] WITH CHECK CHECK CONSTRAINT [FK_99079205_99079203];

ALTER TABLE [dbo].[T_IDOKERET] WITH CHECK CHECK CONSTRAINT [FK_402719205_402719203];

ALTER TABLE [dbo].[T_CSOPORTTIPUS_FOGLALKOZASTIPU] WITH CHECK CHECK CONSTRAINT [FK_402653705_402653703];

ALTER TABLE [dbo].[T_OSSZEFUGGOSZAKGYAK] WITH CHECK CHECK CONSTRAINT [FK_402836305_402836303];

ALTER TABLE [dbo].[T_CIMTARCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_402546505_402546503];

ALTER TABLE [dbo].[T_KOZOSSEGISZOLGALATTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402791105_402791103];

ALTER TABLE [dbo].[T_SCHEDULERJOBS] WITH CHECK CHECK CONSTRAINT [FK_402588505_402588503];

ALTER TABLE [dbo].[T_KKKEPESITESJELLTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402842705_402842703];

ALTER TABLE [dbo].[T_MUNKAKORTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402515705_402515703];

ALTER TABLE [dbo].[T_ERETTSEGIEREDMENY] WITH CHECK CHECK CONSTRAINT [FK_402760905_402760903];

ALTER TABLE [dbo].[T_MULASZTASSTATISZTIKATIPUS] WITH CHECK CHECK CONSTRAINT [FK_402607805_402607803];

ALTER TABLE [dbo].[T_MEROHELYTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402818305_402818303];

ALTER TABLE [dbo].[T_VALLAS] WITH CHECK CHECK CONSTRAINT [FK_402534005_402534003];

ALTER TABLE [dbo].[T_DIAKIGAZOLVANYIGENYLES] WITH CHECK CHECK CONSTRAINT [FK_99079105_99079103];

ALTER TABLE [dbo].[T_CREDITCARDREPLY] WITH CHECK CHECK CONSTRAINT [FK_2288705_2288703];

ALTER TABLE [dbo].[T_EPENZTARCABIZONYLAT] WITH CHECK CHECK CONSTRAINT [FK_402718905_402718903];

ALTER TABLE [dbo].[T_IGAZOLASTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402569605_402569603];

ALTER TABLE [dbo].[T_KIRTELEPHELY] WITH CHECK CHECK CONSTRAINT [FK_402653005_402653003];

ALTER TABLE [dbo].[T_CIMTAR] WITH CHECK CHECK CONSTRAINT [FK_402546205_402546203];

ALTER TABLE [dbo].[T_OTPJELENTESSTATUS] WITH CHECK CHECK CONSTRAINT [FK_249131205_249131203];

ALTER TABLE [dbo].[T_AUTOMATICMESSAGES] WITH CHECK CHECK CONSTRAINT [FK_402365005_402365003];

ALTER TABLE [dbo].[T_OGTEREMFOGLALTSAG] WITH CHECK CHECK CONSTRAINT [FK_402784705_402784703];

ALTER TABLE [dbo].[T_ERTESITES] WITH CHECK CHECK CONSTRAINT [FK_402586805_402586803];

ALTER TABLE [dbo].[T_KKJAZZZENE] WITH CHECK CHECK CONSTRAINT [FK_402842505_402842503];

ALTER TABLE [dbo].[T_MUKODESIHELY] WITH CHECK CHECK CONSTRAINT [FK_402514805_402514803];

ALTER TABLE [dbo].[T_ERETTSEGITANTARGYADATOK] WITH CHECK CHECK CONSTRAINT [FK_402759905_402759903];

ALTER TABLE [dbo].[T_TANULOTARGYMULASZTASSTATISZT] WITH CHECK CHECK CONSTRAINT [FK_402606805_402606803];

ALTER TABLE [dbo].[T_KOZMUSZAMLA] WITH CHECK CHECK CONSTRAINT [FK_402817105_402817103];

ALTER TABLE [dbo].[T_TANEV] WITH CHECK CHECK CONSTRAINT [FK_4026254_4026253];

ALTER TABLE [dbo].[T_SYSTEMPARAMETER] WITH CHECK CHECK CONSTRAINT [FK_2107905_2107903];

ALTER TABLE [dbo].[T_SCSTICKER] WITH CHECK CHECK CONSTRAINT [FK_99079005_99079003];

ALTER TABLE [dbo].[T_OSSZEGTULLEPESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402718805_402718803];

ALTER TABLE [dbo].[T_CSENGETESIRENDORA] WITH CHECK CHECK CONSTRAINT [FK_402567905_402567903];

ALTER TABLE [dbo].[T_MUNKAIDOKEDVEZMENYOKA] WITH CHECK CHECK CONSTRAINT [FK_402636605_402636603];

ALTER TABLE [dbo].[T_KIRKONTENERELEMSTATUSZ] WITH CHECK CHECK CONSTRAINT [FK_402834805_402834803];

ALTER TABLE [dbo].[T_CSENGETESIREND] WITH CHECK CHECK CONSTRAINT [FK_402545605_402545603];

ALTER TABLE [dbo].[T_OTPJELENTESEK] WITH CHECK CHECK CONSTRAINT [FK_248900605_248900603];

ALTER TABLE [dbo].[T_PERSONMESSAGE] WITH CHECK CHECK CONSTRAINT [FK_881105_881103];

ALTER TABLE [dbo].[T_OGFOGLALKOZASFOGLALTSAG] WITH CHECK CHECK CONSTRAINT [FK_402784205_402784203];

ALTER TABLE [dbo].[T_KKKLASSZIKUSZENE] WITH CHECK CHECK CONSTRAINT [FK_402842305_402842303];

ALTER TABLE [dbo].[T_ERETTSEGITANTARGY] WITH CHECK CHECK CONSTRAINT [FK_402759805_402759803];

ALTER TABLE [dbo].[T_GONDVISELOERTESITES] WITH CHECK CHECK CONSTRAINT [FK_402586605_402586603];

ALTER TABLE [dbo].[T_TANULOMULASZTASSTATISZTIKA] WITH CHECK CHECK CONSTRAINT [FK_402605305_402605303];

ALTER TABLE [dbo].[T_ALKALMAZOTT] WITH CHECK CHECK CONSTRAINT [FK_402513905_402513903];

ALTER TABLE [dbo].[T_DICTIONARYITEMBASE] WITH CHECK CHECK CONSTRAINT [FK_2103805_2103803];

ALTER TABLE [dbo].[T_EPENZTARCATETEL] WITH CHECK CHECK CONSTRAINT [FK_402718105_402718103];

ALTER TABLE [dbo].[T_MULASZTASTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402565905_402565903];

ALTER TABLE [dbo].[T_BESOROLASIFOKOZATTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402635305_402635303];

ALTER TABLE [dbo].[T_KIRKONTENER] WITH CHECK CHECK CONSTRAINT [FK_402832105_402832103];

ALTER TABLE [dbo].[T_OTPJELENTESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_248860605_248860603];

ALTER TABLE [dbo].[T_MEROHELY] WITH CHECK CHECK CONSTRAINT [FK_402816705_402816703];

ALTER TABLE [dbo].[T_SCINSET] WITH CHECK CHECK CONSTRAINT [FK_99078905_99078903];

ALTER TABLE [dbo].[T_HETNAPJATIPUS] WITH CHECK CHECK CONSTRAINT [FK_402544905_402544903];

ALTER TABLE [dbo].[T_KKAMIVEGZETTSEG] WITH CHECK CHECK CONSTRAINT [FK_402842105_402842103];

ALTER TABLE [dbo].[T_EMAILADATOK] WITH CHECK CHECK CONSTRAINT [FK_394052705_394052703];

ALTER TABLE [dbo].[T_MESSAGE] WITH CHECK CHECK CONSTRAINT [FK_880005_880003];

ALTER TABLE [dbo].[T_OGEXPORTORAREND] WITH CHECK CHECK CONSTRAINT [FK_402783805_402783803];

ALTER TABLE [dbo].[T_TOVABBIMUNKAUGYIADATOK] WITH CHECK CHECK CONSTRAINT [FK_402755805_402755803];

ALTER TABLE [dbo].[T_ERTESITESTIPUS] WITH CHECK CHECK CONSTRAINT [FK_402586505_402586503];

ALTER TABLE [dbo].[T_OLDALLATOGATOTTSAG] WITH CHECK CHECK CONSTRAINT [FK_402604205_402604203];

ALTER TABLE [dbo].[T_TANULOMULASZTAS] WITH CHECK CHECK CONSTRAINT [FK_402565405_402565403];

ALTER TABLE [dbo].[T_INTEZMENYADATSZOLGALTATAS] WITH CHECK CHECK CONSTRAINT [FK_4026362_4026361];

ALTER TABLE [dbo].[T_KIRKONTENERSTATUSZ] WITH CHECK CHECK CONSTRAINT [FK_402831605_402831603];

ALTER TABLE [dbo].[T_EPENZTARCATETELSTATUSZ] WITH CHECK CHECK CONSTRAINT [FK_402718005_402718003];

ALTER TABLE [dbo].[T_KOZTERULETJELLEG] WITH CHECK CHECK CONSTRAINT [FK_242511905_242511903];

ALTER TABLE [dbo].[T_TANEVRENDJE] WITH CHECK CHECK CONSTRAINT [FK_402544105_402544103];

ALTER TABLE [dbo].[T_TELEFON] WITH CHECK CHECK CONSTRAINT [FK_2077505_2077503];

ALTER TABLE [dbo].[T_KOZMUSZAMLATIPUS] WITH CHECK CHECK CONSTRAINT [FK_402816605_402816603];

ALTER TABLE [dbo].[T_SCTEMPORARYCARD] WITH CHECK CHECK CONSTRAINT [FK_99078805_99078803];

ALTER TABLE [dbo].[T_KKGYOGYPEDVEGZETTSEG] WITH CHECK CHECK CONSTRAINT [FK_402841905_402841903];

ALTER TABLE [dbo].[T_DIGESTEMAILMESSAGE] WITH CHECK CHECK CONSTRAINT [FK_394046705_394046703];

ALTER TABLE [dbo].[T_OGORARENDIORA] WITH CHECK CHECK CONSTRAINT [FK_402783305_402783303];

ALTER TABLE [dbo].[T_OSZTALY] WITH CHECK CHECK CONSTRAINT [FK_402529405_402529403];

ALTER TABLE [dbo].[T_FELHASZNALOERTESITES] WITH CHECK CHECK CONSTRAINT [FK_402586305_402586303];

ALTER TABLE [dbo].[T_FELADATELLATASIHELY] WITH CHECK CHECK CONSTRAINT [FK_402601005_402601003];

ALTER TABLE [dbo].[T_TANITASIORA] WITH CHECK CHECK CONSTRAINT [FK_4025602_4025601];

ALTER TABLE [dbo].[T_TANMENET] WITH CHECK CHECK CONSTRAINT [FK_4025597_4025595];

ALTER TABLE [dbo].[T_TANMENET] WITH CHECK CHECK CONSTRAINT [FK_4025605_4025604];

ALTER TABLE [dbo].[T_TANMENET] WITH CHECK CHECK CONSTRAINT [FK_402555602_402555600];

ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_402551802_402551800];

ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025527_4025525];

ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025518_4028359];

ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025518_4028360];

ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025518_4028361];

ALTER TABLE [dbo].[T_TANULOCSOPORT] WITH CHECK CHECK CONSTRAINT [FK_4025518_4028362];

ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA] WITH CHECK CHECK CONSTRAINT [FK_T_21038_4028591];

ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA] WITH CHECK CHECK CONSTRAINT [FK_402859002_402859000];

ALTER TABLE [dbo].[T_OKTNEVELESIKATEGORIA] WITH CHECK CHECK CONSTRAINT [FK_402859005_402859003];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH CHECK CHECK CONSTRAINT [CK_FelhasznaloBelepes_PasswordValidation];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH CHECK CHECK CONSTRAINT [CK_FelhasznaloBelepes_GuidValidation];

ALTER TABLE [dbo].[T_FELHASZNALOBELEPES] WITH CHECK CHECK CONSTRAINT [CK_FelhasznaloBelepes_SoNullValidation];


GO
PRINT N'Update complete.';


GO
--------------------


PRINT '--- intézményi view-k (dbo táblákkal megegyező nevű és a tábla_OSSZES nevűek) frissítése ---'

DECLARE  @viewname nvarchar(100), @pureview nvarchar(100)

DECLARE semaviewk CURSOR LOCAL FOR 
  SELECT '['+TABLE_SCHEMA + '].[' + TABLE_NAME + ']', TABLE_NAME
  FROM INFORMATION_SCHEMA.TABLES
  WHERE TABLE_TYPE = 'VIEW' and TABLE_SCHEMA LIKE 'KR[_]%[_]Schema'
  AND TABLE_NAME in ('T_ESZKOZ', 'T_ESZKOZ_OSSZES'
					,'T_MUNKAUGYIADATOK', 'T_MUNKAUGYIADATOK_OSSZES'
					,'T_FELHASZNALO', 'T_FELHASZNALO_OSSZES'
					,'T_TANULOCSOPORT', 'T_TANULOCSOPORT_OSSZES'
					,'T_ERTEKELESMONDATBANK', 'T_ERTEKELESMONDATBANK_OSSZES'
					,'T_TANMENET', 'T_TANMENET_OSSZES'
					,'T_OKTATASINEVELESIFELADAT', 'T_OKTATASINEVELESIFELADAT_OSSZES'
					,'T_TANEV', 'T_TANEV_OSSZES'
					,'T_OSZTALYCSOPORT', 'T_OSZTALYCSOPORT_OSSZES'
					,'T_FELHASZNALOBELEPES', 'T_FELHASZNALOBELEPES_OSSZES') -- ha csak néhány VIEW frissült, akkor a gyorsabb futásért ide fel lehet sorolni
  ORDER BY TABLE_SCHEMA, TABLE_NAME

OPEN semaviewk
FETCH NEXT FROM semaviewk INTO @viewname, @pureview

WHILE @@FETCH_STATUS = 0 BEGIN
    PRINT @viewname
    EXEC sp_refreshview @viewname

    FETCH NEXT FROM semaviewk INTO @viewname, @pureview
END             

CLOSE semaviewk
DEALLOCATE semaviewk
GO


--------------------

EXEC dev.sp_Global_GenerateAsyncAuditTriggerAll
GO


ALTER QUEUE auditLog.[AuditQueue]
WITH ACTIVATION
( 
    STATUS = ON,
    PROCEDURE_NAME = auditLog.usp_AuditProcessing,
    MAX_QUEUE_READERS = 10,
    EXECUTE AS 'Kreta_tech_user'
);

GO