SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].[p_grid_md_masks]
    @mask_code ais_code_short = '%'
AS 
    BEGIN
        SELECT  msk_mask_code ,
                msk_l1 ,
                msk_l2 ,
                msk_l3
        FROM    dbo.md_masks
        WHERE	@mask_code = '%' OR msk_mask_code = @mask_code
    END


GO
