DROP PROCEDURE  IF EXISTS uspGetTanevIdByFelhasznaloAzonositoEugyintezes 
GO

CREATE PROCEDURE uspGetTanevIdByFelhasznaloAzonositoEugyintezes
   @pFelhasznaloId INT
AS
BEGIN
  SET NOCOUNT ON;

  SELECT C_TANEVID
  FROM T_FELHASZNALO_OSSZES
  WHERE ID = @pFelhasznaloId
    AND TOROLT = 'F'
END
GO


