DROP PROCEDURE  IF EXISTS uspGetTantargyEugyintezesByAzonosito 
GO

CREATE PROCEDURE uspGetTantargyEugyintezesByAzonosito
   @pTanevId INT
  ,@pTantargyAzonosito INT

AS
BEGIN
  SET NOCOUNT ON;

  SELECT Tantargy.ID AS KretaAzonosito
    ,Tantargy.C_NEV AS Nev
  FROM T_TANTARGY_OSSZES Tantargy
  WHERE TOROLT = 'F'
    AND Tantargy.ID = @pTantargyAzonosito
    AND Tantargy.C_TANEVID = @pTanevId
END
GO


