This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,20 @@
DROP PROCEDURE IF EXISTS dbo.uspTanuloMulasztasParhuzamosOra
GO
CREATE PROCEDURE dbo.uspTanuloMulasztasParhuzamosOra
@pTanoraId int
,@pIdoszakKezdete datetime
,@pIdoszakVege datetime
AS
BEGIN
DECLARE @hianyzasTipus int=1500
,@kesesTipus int =1499
SELECT
tm.C_ORATANULOIID TanuloId
FROM T_TANULOMULASZTAS tm
INNER JOIN T_TANITASIORA tao ON tm.C_TANITASIORAKID = tao.ID
WHERE @pIdoszakVege = tao.C_ORAKEZDETE AND @pIdoszakKezdete = tao.C_ORAVEGE
AND tm.C_TIPUS BETWEEN @kesesTipus AND @hianyzasTipus
AND tao.ID <> @pTanoraid
END
GO