788 lines
14 KiB
Transact-SQL
788 lines
14 KiB
Transact-SQL
GO
|
|
SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON;
|
|
|
|
SET NUMERIC_ROUNDABORT OFF;
|
|
|
|
|
|
GO
|
|
PRINT N'Altering [dbo].[T_INTEZMENY]...';
|
|
|
|
|
|
GO
|
|
ALTER TABLE [dbo].[T_INTEZMENY]
|
|
ADD [C_IKTATOSZERVEZETAZONOSITO] NVARCHAR (255) NULL;
|
|
|
|
|
|
GO
|
|
PRINT N'Altering [dbo].[T_TANEVRENDJE]...';
|
|
|
|
|
|
GO
|
|
ALTER TABLE [dbo].[T_TANEVRENDJE]
|
|
ADD [C_ELTERONAPDATUMA] DATETIME NULL;
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[T_TANEVRENDJE_OSSZES]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[T_TANEVRENDJE_OSSZES]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetDokumentumTanulokOsztalybanToltottNapjai]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanulokOsztalybanToltottNapjai]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetUtkozesByOsztalycsoport]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetUtkozesByOsztalycsoport]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetUtkozesByTanar]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetUtkozesByTanar]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetTanorak]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetTanorak]';
|
|
|
|
|
|
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].[fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanulokEvesOraszamaiOsztalynkonet]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetDokumentumTanulokTanultTantargyai]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumTanulokTanultTantargyai]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetAttanitasok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAttanitasok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetFenntartoIntezmenyei]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFenntartoIntezmenyei]';
|
|
|
|
|
|
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_GetPedagogusStatuszRiport]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusStatuszRiport]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetRiportAllashelyKimutatas]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportAllashelyKimutatas]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetRiportBetoltetlenAllashelyek]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportBetoltetlenAllashelyek]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetRiportCsoportbontasosOrakSzamaTipusokSzerint]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportCsoportbontasosOrakSzamaTipusokSzerint]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetRiportCsoportnontas]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportCsoportnontas]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetRiportTanariAdatok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportTanariAdatok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetRiportTanorakSzamaCsoporttipusonkent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportTanorakSzamaCsoporttipusonkent]';
|
|
|
|
|
|
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_GetTantargyStatuszRiport]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTantargyStatuszRiport]';
|
|
|
|
|
|
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_GetHelyettesitesekOrarend]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHelyettesitesekOrarend]';
|
|
|
|
|
|
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_GetESL_A03T01_1]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetESL_A03T01_1]';
|
|
|
|
|
|
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_GetPedagogusAltalAdottErtekelesek]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusAltalAdottErtekelesek]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTanevRendjeCsengetesiRend]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanevRendjeCsengetesiRend]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTanevrendjeErintettOrarendiOrai]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanevrendjeErintettOrarendiOrai]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOrarendTanoranKivuli]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendTanoranKivuli]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_HelyettesitesekKeresese]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_HelyettesitesekKeresese]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_ImportASC]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportASC]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_ImportTanevRendje]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportTanevRendje]';
|
|
|
|
|
|
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_Nyomtatvany_Excel_OsztalyTanuloinakMulasztasiSzazalekStatisztika]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_OsztalyTanuloinakMulasztasiSzazalekStatisztika]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_AktivTanevValtasa]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_AktivTanevValtasa]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_CsoportKisorolasok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_CsoportKisorolasok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GenerateNaptariNapok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GenerateNaptariNapok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumErtekelesekIdoszakonkent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumErtekelesekIdoszakonkent]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumMulasztasok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumMulasztasok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumMulasztasokIdoszakonkent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumMulasztasokIdoszakonkent]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanitasiNapokSorszama]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanitasiNapokSorszama]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanuloOrarend]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanuloOrarend]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetFoglalkozasokMegtartandoOraSzama]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFoglalkozasokMegtartandoOraSzama]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetNaplozasMulasztasList]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNaplozasMulasztasList]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetNemKotottMunkaIdoDateByInsert]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNemKotottMunkaIdoDateByInsert]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOralatogatasok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOralatogatasok]';
|
|
|
|
|
|
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_GetPedagogusOrarend]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusOrarend]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTanarOrarendLefedettseg]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanarOrarendLefedettseg]';
|
|
|
|
|
|
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_GetTeremOrarend]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTeremOrarend]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTeremrend]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTeremrend]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_Global_SetSystemSettingsDefaultData]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Global_SetSystemSettingsDefaultData]';
|
|
|
|
|
|
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_SetSystemSettingsDefaultData]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_SetSystemSettingsDefaultData]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumErtekelesek]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumErtekelesek]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOsztalyokEvesOraszama]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyokEvesOraszama]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetUtkozes]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetUtkozes]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetUzenofuzetErtekelolap]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetUzenofuzetErtekelolap]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetErtesitesAltEsMulAdatok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetErtesitesAltEsMulAdatok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTorzslap]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTorzslap]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanuloOrarendOsztalyonkent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanuloOrarendOsztalyonkent]';
|
|
|
|
|
|
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_GetPedagogusOrarendOsszes]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusOrarendOsszes]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTeremOrarendOsszes]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTeremOrarendOsszes]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_PedagogusNemBejegyzettOraiOsszes]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_PedagogusNemBejegyzettOraiOsszes]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOsztalyNaplo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyNaplo]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetCsoportNaplo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetCsoportNaplo]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetErtesitoNyomtatvany]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetErtesitoNyomtatvany]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetNapkozisNaplo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNapkozisNaplo]';
|
|
|
|
|
|
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_INTEZMENY', 'T_INTEZMENY_OSSZES'
|
|
,'T_TANEVRENDJE', 'T_TANEVRENDJE_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
|
|
|