SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_grid_acc_accounts_types]
	@type_code AS ais_code_short  = '%' 
AS
BEGIN
	SET NOCOUNT ON

	SELECT	*
	FROM acc_accounts_types
	WHERE @type_code = '%' OR atyp_type_code = @type_code
END
GO
