DROP PROCEDURE IF EXISTS uspGetAlkalmazottNevById
GO
  CREATE PROCEDURE uspGetAlkalmazottNevById 
     @pUserId INT
    ,@pTanevId INT
    ,@pIntezmenyId INT
  AS
  BEGIN
    SET NOCOUNT ON;

    SELECT C_NYOMTATASINEV
    FROM T_FELHASZNALO_OSSZES
    WHERE ID = @pUserId
      AND C_TANEVID = @pTanevId
      AND C_INTEZMENYID = @pIntezmenyId
      AND TOROLT = 'F'
  END
GO


