SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_grid_acc_currencies]
	@currency_code AS ais_code_short = '%'
AS
BEGIN
	SET NOCOUNT ON;
	
	SELECT	cur_currency_code, 
			cur_l1, 
			cur_l2, 
			cur_l3,
			cur_use_decimals
	FROM	acc_currencies
	WHERE	@currency_code = '%' OR cur_currency_code = @currency_code
	
END
GO
