DROP PROCEDURE  IF EXISTS uspGetIntezmenyIdByAzonositoEugyintezes 
GO

CREATE PROCEDURE uspGetIntezmenyIdByAzonositoEugyintezes
   @pIntezmenyAzonosito NVARCHAR(30)
AS
BEGIN
  SET NOCOUNT ON;

  SELECT ID
  FROM T_INTEZMENY_OSSZES
  WHERE C_AZONOSITO = @pIntezmenyAzonosito
    AND TOROLT = 'F'
END
GO


