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

	SELECT	*
	FROM doc_collections_docs_statuses
	WHERE @status_code = '%' OR dcds_status_code = @status_code
END
GO
