SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_variable_used_by_policy_or_risk]
(
	@product_code as ais_code_short,
	@variable_code as ais_code_short,
	@variable_date_setup as datetime
)  
AS
BEGIN
	SET NOCOUNT ON
	
	SELECT	RESULT = [dbo].[f_variable_used_by_policy_or_risk](@product_code, @variable_code, @variable_date_setup)
	
END

GO
