SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

create procedure [dbo].[p_test_doc_delete]
as
	declare @t type_table_id

	insert into @t select distinct dc_collection_id from doc_collections

	exec p_doc_collections_delete_by_table_id @t
GO
