GO
/****** Object:  StoredProcedure [dbo].[sp_GetTanariAtlagSulyok]    Script Date: 2016.02.08. 9:26:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

IF OBJECT_ID('dbo.[sp_GetTanariAtlagSulyok]') IS NOT NULL 
BEGIN
  DROP PROCEDURE [dbo].[sp_GetTanariAtlagSulyok]
END  
GO

-- =============================================
-- Author:		<Kelemen Attila>
-- Create date: <2016. 02. 08.>
-- Description:	<Átlagszámításnál használt súlyok>
-- =============================================
CREATE PROCEDURE [dbo].[sp_GetTanariAtlagSulyok]
	
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

	select [ID]
      ,[C_SULY] Suly
      ,C_ERTEKELESMODJA Tipus
	  FROM T_TANARIATLAGSULY
	WHERE T_TANARIATLAGSULY.TOROLT='F'

END 
