SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].[p_grid_act_csp]
    @fam_code ais_code_short,
    @csp_code ais_code_short = '%'
AS 

select *
from act_csp
where	csp_fam_code = @fam_code 
		and  (@csp_code = '%' or csp_csp_code = @csp_code)






GO
