802 lines
15 KiB
Transact-SQL
802 lines
15 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_CSOPORT]...';
|
|
|
|
|
|
GO
|
|
ALTER TABLE [dbo].[T_CSOPORT]
|
|
ADD [C_ISAUTOEGYENICSOPORT] CHAR (1) DEFAULT ('F') NOT NULL;
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[T_CSOPORT_OSSZES]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[T_CSOPORT_OSSZES]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetDokumentumKapcsolodoOsztalycsoportok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumKapcsolodoOsztalycsoportok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyVagyTanoraiCsoport]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyVagyTanoraiCsoport]';
|
|
|
|
|
|
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].[fnGetDokumentumMulasztasokOsztalyonkentReszletes]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumMulasztasokOsztalyonkentReszletes]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetDokumentumMegtartottOrak]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumMegtartottOrak]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyMegtartottOrakSzama]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyMegtartottOrakSzama]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyTanuloinakMegtartottOrakTantargyankent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyTanuloinakMegtartottOrakTantargyankent]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetUtkozesByOsztalycsoport]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetUtkozesByOsztalycsoport]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetKopcsolodoOsztalyCsoportokByDateRange]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetKopcsolodoOsztalyCsoportokByDateRange]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetDokumentumOsztalyTanuloinakMegtarthatoOrakTantargyankent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumOsztalyTanuloinakMegtarthatoOrakTantargyankent]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetEvesOraszamLista]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetEvesOraszamLista]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[fnGetEvesOraszamListaByTanitasiOraId]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetEvesOraszamListaByTanitasiOraId]';
|
|
|
|
|
|
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].[fnGetDokumentumErtekelesekMuveszetiOktatasbanOsztalyonkent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[fnGetDokumentumErtekelesekMuveszetiOktatasbanOsztalyonkent]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_AscValidateOsztalyCsoportTantargy]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_AscValidateOsztalyCsoportTantargy]';
|
|
|
|
|
|
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_Global_GetDatabaseErrors]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Global_GetDatabaseErrors]';
|
|
|
|
|
|
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_GetAllOsztalyCsoport]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAllOsztalyCsoport]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetElozoOraAdatai]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetElozoOraAdatai]';
|
|
|
|
|
|
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_GetFelhasznaloErintettOsztalyai]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloErintettOsztalyai]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloJogok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloJogok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetIntezmenyFeltoltottsegeRiport]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetIntezmenyFeltoltottsegeRiport]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetNapkozisCsoportTanuloinakHaviMulasztasiOsszesitoje_1]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNapkozisCsoportTanuloinakHaviMulasztasiOsszesitoje_1]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOraEvesSorszama]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOraEvesSorszama]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOraEvesSorszamaLista]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOraEvesSorszamaLista]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetPedagogusStatuszRiport]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusStatuszRiport]';
|
|
|
|
|
|
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_GetRiportTanorakSzamaCsoporttipusonkent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetRiportTanorakSzamaCsoporttipusonkent]';
|
|
|
|
|
|
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_SetRendszerErtesitesek]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_SetRendszerErtesitesek]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[uspGetOsztalycsoportTantargyiMulasztasai]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[uspGetOsztalycsoportTantargyiMulasztasai]';
|
|
|
|
|
|
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_ImportASC]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportASC]';
|
|
|
|
|
|
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_GetMunkaidoElszamoloLap]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetMunkaidoElszamoloLap]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_DeleteAllTTF]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_DeleteAllTTF]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetAdminDashboardAdminisztracio]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAdminDashboardAdminisztracio]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetAdminDashboardStatisztika]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetAdminDashboardStatisztika]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumMulasztasok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumMulasztasok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanuloOrarend]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanuloOrarend]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetFelhasznaloOsztalyaiByFoglalkozas]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetFelhasznaloOsztalyaiByFoglalkozas]';
|
|
|
|
|
|
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_GetOrarendOsztalyonkent]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOrarendOsztalyonkent]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOraSorszamByOsztaly]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOraSorszamByOsztaly]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetPedagogusOrarend]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetPedagogusOrarend]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetStatPedagogusTanuloinakTantargyiMulasztasaiMegtartott]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetStatPedagogusTanuloinakTantargyiMulasztasaiMegtartott]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTanarOrarendLefedettseg]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanarOrarendLefedettseg]';
|
|
|
|
|
|
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_IdoszakiOsztalyStatisztika]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_IdoszakiOsztalyStatisztika]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[uspGetFelhasznaloOsztalyaiByFoglalkozasAndOsztfo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[uspGetFelhasznaloOsztalyaiByFoglalkozasAndOsztfo]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetNaplozasMulasztasList]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNaplozasMulasztasList]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumErtekelesek]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumErtekelesek]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTanulokJegyeiReszletezes]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokJegyeiReszletezes]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetUzenofuzetErtekelolap]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetUzenofuzetErtekelolap]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_Nyomtatvany_Excel_IdoszakiTanuloStatisztika]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_Nyomtatvany_Excel_IdoszakiTanuloStatisztika]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[uspGetBukasraAlloTanulok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[uspGetBukasraAlloTanulok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetDokumentumTanitasiNapokSorszama]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetDokumentumTanitasiNapokSorszama]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOsztalyokEvesOraszama]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyokEvesOraszama]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetElozoOranHianyzottTanulok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetElozoOranHianyzottTanulok]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetHelyettesitesekAjanlasa]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetHelyettesitesekAjanlasa]';
|
|
|
|
|
|
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_GetErtesitesAltEsMulAdatok]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetErtesitesAltEsMulAdatok]';
|
|
|
|
|
|
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_GetTanulokTantargyMulasztasokReszletezese]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanulokTantargyMulasztasokReszletezese]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOsztalyTanuloinakHaviMulasztasaiOsszesitoje_honapra]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyTanuloinakHaviMulasztasaiOsszesitoje_honapra]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetUtkozes]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetUtkozes]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOsztalyTanuloinakHaviMulasztasaiOsszesitoje]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyTanuloinakHaviMulasztasaiOsszesitoje]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_ImportTantargyFelosztas]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_ImportTantargyFelosztas]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetNapkozisCsoportTanuloinakHaviMulasztasiOsszesitoje]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNapkozisCsoportTanuloinakHaviMulasztasiOsszesitoje]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetSzakmaiGyNaplo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetSzakmaiGyNaplo]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetCsoportNaplo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetCsoportNaplo]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetTanoranKivuliNaplo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetTanoranKivuliNaplo]';
|
|
|
|
|
|
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_GetNapkozisNaplo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetNapkozisNaplo]';
|
|
|
|
|
|
GO
|
|
PRINT N'Refreshing [dbo].[sp_GetOsztalyNaplo]...';
|
|
|
|
|
|
GO
|
|
EXECUTE sp_refreshsqlmodule N'[dbo].[sp_GetOsztalyNaplo]';
|
|
|
|
|
|
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_CSOPORT', 'T_CSOPORT_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
|
|
|