SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_grid_md_link_tables]
    @link_table_name ais_name = '%'
AS 
    BEGIN
        SELECT  ltbl_link_table_name ,
                ltbl_l1 ,
                ltbl_l2 ,
                ltbl_l3
        FROM    dbo.md_link_tables
        WHERE	@link_table_name = '%' OR ltbl_link_table_name = @link_table_name
    END


GO
