	IF OBJECT_ID('NET_DEL_VOO_TRECHO') IS NOT NULL
		DROP PROC NET_DEL_VOO_TRECHO

	GO
		CREATE PROC NET_DEL_VOO_TRECHO
	(
			  @pCodVooTrecho	int = NULL
			 ,@pCodVoo int = NULL
	)
	AS 
		
		BEGIN
			SET NOCOUNT ON
			
						DELETE 
		FROM 
						NET_VOO_TRECHO
WHERE     
					CodVooTrecho = @pCodVooTrecho
			
		
			

	SET NOCOUNT OFF 
	END 

